Hi folks, I'm having the following issue.
I'm working with Google Apps Script to create a ticket in Zendesk. I have managed to do it with the Request API but when tried with Ticket API the response is {"error":"Couldn't authenticate you"}. I'm using the same API token I have generated as Admin.
Does anyone knows if there are extra permissions needed to use Ticket API? I have checked documentation and auth process seems to be same for both APIs.
Thanks in advance!
Can authenticate Request API but cannot with Ticket API
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
You will need to use an Oauth access token for external requests to the Tickets API. The Requests API is one of the few APIs that doesn't require Oauth authorization as it is intended for end users. Here's a link that goes in to more detail around security and authentication with respect to our APIs:
https://developer.zendesk.com/api-reference/introduction/security-and-auth/
I hope this helps!
Tipene