How do I find the ID of a ticket form?

Return to top

17 Comments

  • Saeleum

    If I can only have one ticket, do I have ticket form ID? - Can't find on ticket form setting.

    0
  • Brett Bowser
    Zendesk Community Manager

    Hey there,

    The ticket form should still have an ID regardless of if it's the only form. Does the ID not show up in the URL when you're looking at the Default ticket form?

    Let me know!

    0
  • Saeleum

    Hi Brett,

    No, the ID does not show up in the URL. It ends with " ~ zendesk.com/hc/en-us/requests/new"

    Thank you for your help in advance! 

    0
  • Brett Bowser
    Zendesk Community Manager

    Hey Saeleum,

    You would need to pull up the ticket form in Support and not in Guide. Can you try navigate instead to Support>Admin>Manage>Ticket Forms where you should see your default form. If you click on that I believe you will see the ID in the URL on that page.

    Let me know if that's not what you're looking for!

    0
  • Saeleum

    Hi Brett, 

    Thank you for your kind response. The ticket form id is not appended to the url in my case. Would be there any other way to find the ID? 

     

    0
  • Brett Bowser
    Zendesk Community Manager

    Hey Saeleum,

    The other option would be to navigate to subdomain.zendesk.com/api/v2/ticket_forms and just replace subdomain with the subdomain of your account.

    I hope this helps!

    0
  • Saeleum

    Hey Brett, 

    I am gettin this error when tried what you said. 

    {
      "error": {
        "title": "Forbidden",
        "message": "You do not have access to this page. Please contact the account owner of this help desk for further help."
      }
    }

    Thank you for your help! 

    0
  • Brett Bowser
    Zendesk Community Manager

    Hey Saeleum,

    I'm going to create a ticket on your behalf so our Customer Care team can look into this further with you.

    You'll receive an email shortly stating your ticket has been created.

    Cheers!

    0
  • saiday

    I cannot find my ticket form id on Admin > Manage > Ticket Forms neither on https://streetvoice.zendesk.com/api/v2/ticket_forms.json

    1. on Admin > Manage > Ticket Forms

    the forms cannot be clicked, hence have no URL to refer.

    2. https://streetvoice.zendesk.com/api/v2/ticket_forms.json

    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 need ticket form id to perform pre-filled ticket forms.

    3
  • Same as saiday

    0
  • Cheeny Aban
    Zendesk Customer Care
    Hi Владислав Донтхёртми,
     
    When making an API call, you need to authenticate the API request. You may use this article as a guide:How can I authenticate API requests?
    0
  • I have authentucation.

    The problem is that I don't have access to forms feature because of Growth Suite. That's wht I cannot get form id.

    0
  • Logan Dahl

    Hello, was this ever resolved? It's happening to me as well, I assume because I'm on the Professional plan and therefore only have one ticket form.

    When I go to the ticket form editor, the URL looks like this: https://<subdomain>.zendesk.com/admin/objects-rules/tickets/ticket-forms

    The page looks like this:

     

    I want the URL of the ticket form so I can expose it to a few internal pages we have.

    1
  • Aaron Hudon

    Brett Bowser can we get a resolution here?  For those that don't have a plan for multiple ticket forms, knowing the ID of the one-and-only ticket form is important.

    0
  • Gabriel Manlapig
    Zendesk Customer Care

    Hi Aaron,
     

    For those who have no "multiple forms" you can simply redirect users to the new_requests page by replacing:

    /hc/en-us/requests/new?ticket_form_id=XXXXXXX

    so that the new piece of code will look like -

    <a href="https://[subdomain].zendesk.com/hc/en-us/requests/new">Please tell us why?</a>

    Can you please try using that alternate code and let me know how that goes? 

     

    0
  • Aaron Hudon

    In this case, I'm needing the ticket form ID so I can adjust the web widget to show additional fields.  The JSON API requires a ticket form ID....

    0
  • Gabriel Manlapig
    Zendesk Customer Care
    Hi Aaron,

    If your plan doesn't support multiple forms enabled, you will not be able to get any form ID, nor run this API call https://[subdomain].zendesk.com/api/v2/ticket_forms.json.  This is because when you don't have the functionality enabled, then the only form available does not have a form ID.
     
    If you want to add ticket fields to your web widget, you can do it directly via the UI by selecting the contact form, and selecting the fields that you want to show (that need to be editable/visible by user).
     


    You can see more about this in the section "Adding custom ticket fields to the default contact form" of this article Using custom ticket fields and ticket forms with the Web Widget (Classic)


    Hope that helps.

    0

Please sign in to leave a comment.

Powered by Zendesk