Managing API token access to the Zendesk API



Edited Jun 16, 2025


5

21

25 comments

      hy 

       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."}

      0


      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.

      0


      Hi,

      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

      0


      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 = 'your_email@domain.com/token'

      but receive error 401.

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

      1


      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.

      1


      Hello,

      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

      Andres

      1


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

       

      1


      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.

      1


      Yeah would be good to know Api token with restricted acess

      2


      Hi, 

      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.

       

      5


      Sign in to leave a comment.