Authenticating in the Zendesk API | Community
Skip to main content

Authenticating in the Zendesk API

  • September 9, 2023
  • 2 replies
  • 0 views

Mark33

I am trying to use the Zendesk API to export all of the articles from the knowledgebase. I'm using this document https://developer.zendesk.com/documentation/help_center/help-center-api/backing-up-your-knowledge-base-with-the-help-center-api/#code-complete

I'm getting a 404 and I suspect it has to do with authentication issues.

In the Python script, I need to provide my Zendesk credentials. Thing is that my org uses SSO, so I don't have a unique Zendesk password. Instead I log into Zendesk using my SSO password.

I'm wondering if that could be the reason I'm getting the 404. 

Any thoughts on this?

2 replies

Mark33
  • Author
  • September 9, 2023

Following up on my original question, I'm wondering if the Zendesk API just doesn't support SSO and 2FA authentication. If so, would it be possible to substitute an API token?

 


  • September 14, 2023
Hi Marek, 
 
Acceptable authentication methods for the Zendesk API include: Basic Auth, API Token, and OAuth. 
 
You can check out our docs here for more info on each of them. 
 
All the best!
 
Erica