List Ticket Forms: Forbidden | Community
Skip to main content

List Ticket Forms: Forbidden

  • March 1, 2022
  • 3 replies
  • 0 views

Hi!

I'm trying to list ticket forms via API call (v2/ticket_forms.json). I tried API authorization and oAuth under the same user and I have an error (status code 403):

{
"error":{
"title":"Forbidden",
"message":"You do not have access to this page. Please contact the account owner of this help desk for further help."
}
}
 
I assume that my user is admin - here what I have from API response v2/users/me.json:
{
...
"role":"admin",
"verified":true,
"role_type":4,
"moderator":true,
...
}

I can list/modify existing ticket forms in UI, problem only occurs via API.

3 replies

Tipene
  • March 1, 2022

Hi @alexey11,

Thanks for reaching out!

That's strange that you're seeing a 403 error there - the ticket_form endpoint is generally accessible for all users, including end-users. 

Can you let me know the full URL you're using to make a request to the endpoint? Also, have you tried making the request using basic auth with your Zendesk username and pw?

Look forward to hearing from you!

Tipene


  • Author
  • March 1, 2022

Hi, @tipene

I just tried same API call with basic auth - I've got the same error.

Full URL: GET https://probackupsupport.zendesk.com/api/v2/ticket_forms.json

curl:

curl -X  GET 'https://probackupsupport.zendesk.com/api/v2/ticket_forms.json' -H 'Authorization: Basic <base64>'


Guided
  • March 2, 2022

Hey Aliaksei,

What Zendesk plan are you on? If I recall correct you'll get a 403 error when you are on the Professional plan, as (multiple) ticket forms are only available on the Enterprise plan or some addon(s).

Might have changed with the Zendesk Suite though, as I see it's enabled there for Growth and Professional as well.