I want to configure API Key in App& Integrations/APIs/Zendesk API



Posted Nov 13, 2023

Hi, 
Currently, I need to retrieve data from Zendesk using the API, but I would like to have the ability to configure the API Key.

Currently, when I generate an API Key and use it to call the API, such as /api/v2/tickets.json, I receive all tickets regardless of the brand or group. However, I would like to configure the API Key to have specific permissions such as read-only, write, or limited to a particular user. Additionally, I would like the API response to be filtered based on the user account. For example, if I have 4 tickets associated with my account, I only want to receive those 4 tickets from Zendesk's API, even if there are 10 tickets in total.

And many API need to permission Admin, how to pass with API Key Token such as api /api/v2/ticket_audits,... etc.

Please note that in this case, I am unable to create an access token using OAuthClient since it would impact other projects. If you have any ideas on how to create an access token corresponding to a specific member, I would greatly appreciate your advice.

Thank you, Admin.


0

1

1 comment

image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hi Le Dan,
 
We don't currently offer the ability to scope API keys, unfortunately. I'd encourage you to create a post in our feedback channel so our product teams have visibility of your use-case.
 
Sorry I couldn't be more help!
 
Tipene

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post