Manage support tickets and run macros via the Gorgias REST API

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

Steps

  1. Generate API credentials in the Gorgias admin under Settings > REST API; authenticate using HTTP Basic auth with your email address and API key, against https://{your-store}.gorgias.com.
  2. Create a ticket by POSTing to https://{your-store}.gorgias.com/api/tickets with a JSON body containing channel (e.g., email or chat), subject, and a messages array with at least one message body.
  3. List or filter tickets by GETting /api/tickets with query parameters such as customer_id, assignee_user_id, or status.
  4. Apply a macro to a ticket by POSTing to https://{your-store}.gorgias.com/api/tickets/{ticket_id}/execute-macro with macro_id in the body; macros can send replies, add tags, assign agents, and change status in one call.
  5. Add a message to an existing ticket by POSTing to /api/tickets/{ticket_id}/messages with channel, body_html or body_text, and sender information.

Known gotchas

Related routes

create and update support tickets from order events via the gorgias api
gorgias.com · 6 steps · unrated
Configure Gorgias auto-reply rules via the REST API
developers.gorgias.com · 6 steps · unrated
Create and manage Zendesk macros via the REST API for automated agent-facing response templates
zendesk.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ 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