Managing access to the Zendesk API

Return to top


  • Xometry Zendesk Integrations

    Hello we recently had to setup a new token and it doesn't appear to be working when we try to use it in our Okta instance. Is anyone else experiencing this issue? 

  • Russell Chee
    Zendesk Customer Care

    Hey there,
    Thanks for reaching out on our community post about your issue with the API Token and your Okta instance. In this situation, what I will be doing is creating a ticket so that we can work on this together internally and see what could be going on. Speak to you soon!

    Russell Chee | Senior Customer Advocacy Specialist | Melbourne, Australia

  • Gokcem Gokce Kaplan


    Is there any way that I generate an api key with restricted access? I want to write an app and add private comments to tickets, with the api key from customer i would have full access to customer data. I only want to add comments.


  • Philip Larner

    Yeah would be good to know Api token with restricted acess

  • Shawn Oudavanh

    Not sure if there is a documented way but I was able to do this. So after you create the api token under the user you want, you can downgrade the user's role to your custom role. Granted your account has access to create custom roles. The API's should be restricted based on what is defined in that role.

  • Zendesk Admin

    I Agree would be good to know Api token with restricted acess

  • Andres Valdes


    I am login into Admin Center using an admin account.  When I go to Apps and Integrations I don't see the APIs Link, but just  Salesforce, Event  Connector for Amazon EventBridge, Shopify and Slack.  

    Is it because I need to set up something before reaching Apps and Integrations? Do I need special permissions?  

    Thank you very much for any pointers you can give me


  • Dane
    Zendesk Engineering
    Hi Andres,
    You will need to make sure that your role is indeed an Admin once you go to your profile in Admin Center. 

    There's currently no permission restriction if you are indeed an Admin. If the same issue persisted, please contact our support directly.
  • Sean Gustilo

    I'm following the directions here to back up our KB using the Help Center API.

    Our Zendesk requires SSO via Okta to log in, so I've created an API token and placed the following into the script:

    credentials = ''

    but receive error 401.

    Is there another way to format the credentials with the script?

  • user1005


    I'm setting up an integration for a customer and there's one question about API Token generation. In the past, if the user that generated the API Token was deleted, the API Token became invalid and another one needed to be generated.

    Is it still valid or we can generate the API Token and after the setup is completed we can delete the user with no impact in the token usage?


    Massashi Yasunaga

  • Noly Maron Unson
    Zendesk Customer Care

    Hi Dev,

    Deleting the user who created the API token will not affect the already created token. The token should still be available to use.

    Hope this helps.

  • Ashwin ck


     if  i created a new token and try to create a ticket i got this error 

       {"error":"invalid_token","error_description":"The access token provided is expired, revoked, malformed or invalid for other reasons."}


    is it possible to generate a new api - token through API, using zendesk access token?


  • Joyce
    Zendesk Customer Care
    Hello Rahul,
    Generating an API token can be done within Apps and integrations > APIs > Zendesk API in the Admin Center. Only the OAuth access tokens can be created via API. You check this article for more information: Creating and using OAuth access tokens with the API
  • Jed Hollander

    Was this ever answered? 

    I Agree would be good to know Api token with restricted acesss

    I want to give someone API Access to work on an integration but I do not want them to have access to reporting. Is this possible?



  • Ivan Miquiabas
    Zendesk Customer Care
    Hi Jed, 
    Thanks for reaching out! 
    While we do know that having access to API can only be by an administrator as per this article you can actually restrict them on Explore access via the Custom roles, so that even though users has access to API, you still do have control on accessing certain reports in your Zendesk account.
    Hope that helps! 
  • Jed Hollander

    Ivan Miquiabas thank you for confirming.

  • SUbodh Singh

    Hi Team,

    I'm integrating Zendesk in my tool/application where we need the OAuth 2.0 process for authorization, I have gone through the official documentation of API reference for the same, but facing an issue.


    I have created an account on Zendesk and created the Oauth Client APP. when we are authorized with the same account it works fine. when we authorize another Zendesk account then it's not working getting an error (Invalid Authorization Request No such client) 


    here is URL for the reference:


    If possible, let's us help to connect with developers for a quick call.


Please sign in to leave a comment.

Powered by Zendesk