Recent searches


No recent searches

Managing access to the Zendesk API



Edited Feb 10, 2025


5

20

20 comments

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? 

0


image avatar

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

1


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


Yeah would be good to know Api token with restricted acess

2


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


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

 

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


image avatar

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.

1


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,

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


image avatar

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.

0


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,
is it possible to generate a new api - token through API, using zendesk access token?

 

0


image avatar

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

0


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?

 

Thanks.

0


image avatar

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! 

0


Ivan Miquiabas thank you for confirming.

0


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.

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:

https://{subdomain}.zendesk.com/oauth/authorizations/new?response_type=code&redirect_uri=http://localhost:49417/listen/zendesk&client_id=Cloudsocial_zendesk&scope=read+write

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

1


Hello. Our Information Security team plan to enable the Zendesk API to integrate external application. How can we accomplish this? Thank you!

 

0


image avatar

Audrey Ann Cipriano

Zendesk Customer Care

Hi Charles Eljay Cruz welcome to our Community!

You and your team may follow our guide here :) 

Making requests to API 
List Tickets 

0


Please sign in to leave a comment.