最近搜索


没有最近搜索

How to Create Bearer Token



已于 2025年4月15日 发布

I am using 2 API end points 1 is searching all the tickets and the other API to get the chat description of each tickets. I am able to use the 1st API with the BASIC Auth but un able to use the 2nd chat API to fecth the chat Description due to the Bearer token i am unable to figure out how to generate the Bearer token by reading the API documentation can anyone help me step s to generate the Bearer token?


0

1

1 条评论

This is what I used to create Bearer token

Create Bearer token

Post suburl.zendesk.com/api/v2/oauth/tokens

 

curl -X POST https://suburl.zendesk.com/api/v2/oauth/tokens.json \

 -u user/token: \

 -H "Content-Type: application/json" \

 -d '{

   "token": {

     "client_id": "",

     "scopes": ["read", "write"]

   }

 }'

 

You need to put your subdomain where I have subURL and your login at user and of course your token

0


请先登录再写评论。

找不到所需的内容?

新建帖子