How to use Oauth with client #520
-
Could anyone tell me how to build and reference |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @mzawalski-vilisoft, it looks like what you need is to set the Here is a quick example, note that I couldn't test it since I don't have access to an instance setup for impersonation:
|
Beta Was this translation helpful? Give feedback.
-
Hi @PierreBtz, thank you for the detailed answer with the example. The problem for me was how to generate such a token 😅
Copy the full_token from the response
Hope it will help someone :) |
Beta Was this translation helpful? Give feedback.
Hi @PierreBtz, thank you for the detailed answer with the example. The problem for me was how to generate such a token 😅
Step by step for others:
Zendesk -> Admin Center -> Settings ->Apps and Integrations -> Zendesk API -> OAuth clients -> Add
GET /api/v2/oauth/clients
and copy the id of you new clientPOST /api/v2/oauth/tokens
with body:Copy the full_token from the response
4. Create your Zendesk client: