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개
Stacy Robinson
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
댓글을 남기려면 로그인하세요.