image for site

Setting an External ID for Zendesk Support Tickets

Learn how to set an external ID for Zendesk Support tickets using the API. Follow our step-by-step guide to update your ticket's external ID.

How do I set an external ID for a Zendesk Support ticket?

To set an external ID for a Zendesk Support ticket, you need to use the Support API. This involves using the Update Ticket endpoint and including the external_id value in the request body.

Here's a quick example: make a PUT request to/api/v2/tickets/{id}.jsonand include the following in the body:

{ "ticket" : { "external_id": "ABC123" } }

Replace{id}with your ticket's ID andABC123with your desired external ID. This external ID acts as a reference to third-party system records. For more details, check out theoriginal article.


More related questions

Where can I view the external ID of a Zendesk Support ticket?

The external ID of a Zendesk Support ticket can be found in the list of ticket events. However, it does not appear directly as a ticket field. To view it, navigate to your ticket events and search for 'External ID'. Keep in mind that the external…

Is the external ID unique for each Zendesk resource?

Yes, the external ID should be unique for each resource in Zendesk, such as users and tickets. This uniqueness ensures that each external ID serves as a distinct reference to third-party system records, helping to avoid any confusion or data overlap.

Why can't I see the external ID in the Zendesk ticket events view?

If you're unable to see the external ID in the ticket events view, it might be due to the way the external ID is used. The external ID is not a direct ticket field but is meant for third-party integrations and data exports. If you're experiencing…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites