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 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

Please sign in to leave a comment.

Powered by Zendesk