Create a Zendesk ticket with custom fields and tags via the Tickets REST API

domain: zendesk.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate using HTTP Basic auth with the format {email}/token:{api_token} or OAuth 2.0 with a Bearer token; base URL is https://{subdomain}.zendesk.com/api/v2/.
  2. POST to /api/v2/tickets with a JSON body under a 'ticket' key containing at minimum 'subject' and 'comment' (with 'body' or 'html_body'); add 'requester_id' or 'requester' object for the submitter.
  3. Include 'tags' as an array of strings and 'custom_fields' as an array of objects with 'id' (field ID) and 'value' in the ticket body.
  4. The response is a 201 with the created ticket object including 'id', 'status', and all fields; store the ticket ID for subsequent updates.
  5. To update the ticket, PUT to /api/v2/tickets/{ticket_id} with the same 'ticket' wrapper; include only the fields you want to change.
  6. Use the Tickets Create Many endpoint (POST /api/v2/tickets/create_many) for bulk creation, which returns a Job Status object to poll for completion.

Known gotchas

Related routes

Create custom ticket fields and attach them to a ticket form in Zendesk
developer.zendesk.com · 6 steps · unrated
Create and reply to Zendesk tickets via API
zendesk.com · 4 steps · unrated
Create and manage Zendesk ticket triggers via API
developer.zendesk.com · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans