Question
My account is configured to allow single sign-on (SSO) authentication for my agents and admins. What authentication should I use to access the API?
Answer
To access the API, use an API token along with your agent or admin email address on the account. Authentication for API access is then formatted as your_email@domain.com/token
.
For further information, see the article: Generating a new API token.
4 comments
Shweta
I followed this pattern {email_address}/token:{api_token}, but I'm still getting CORS error. We're using an SSO option to authenticate. However, I couldn't find any specific issue as to what's going wrong. Can you please help? Let me know if any additional details required from my end.
1
Groffer Anderson
How can I extract OAuth tokens for my users (zendesk agents) if they're all connected via SSO? I'm using Okta (SAML) to SSO into Zendesk. It's not possible for me to get the API tokens for all my agents. What is the best way to get the OAuth tokens for these agents?
Note: I have a custom login, where my agents login using their OKTA credentials. I can hold these credentials and use them to get the Zendesk token as well, if there is a way to get my Auth token for the agent. (using their credentials) .
0
Dwight Bussman
Hi Schweta & Raghav
Both of these seem like excellent questions that will likely require a closer look by our support team. Please reach out to customer support as documented in this article to get some direct assistance with these cases, as I suspect they may require account-specific details to troubleshoot properly.
1
Groffer Anderson
Thanks for the update @....
0