Setting an external ID on a Zendesk Support ticket

The external_id attribute of a Support ticket is a string that references third-party system records. To set an external ticket ID, use the Support API with the Update Ticket endpoint and include the external_id value in the request body:

PUT /api/v2/tickets/{id}.json

The PUT request body looks like:

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

Replace {id} with the ID of the ticket to update. Replace ABC123 with the string of the external ID you wish to set for that ticket.

To see the update live on your ticket, see Viewing all events of a ticket.

Powered by Zendesk