Reply to ticket

Send a reply to the customer on the ticket.

MCP tool gorgias_write → reply_to_ticket

write Confirm

Sends a public message from you on the ticket channel, for example email. Gorgias sends it after the call returns, so a reply is queued, not yet delivered. You can set the status in the same call. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: reply_to_ticket
NameTypeDescription
ticket_id integer required integer Ticket ID from search_tickets.
body string required string Reply text.
set_status enum enum open or closed after sending. Default: unchanged.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gorgias_write",
    "arguments": {
      "operation": "reply_to_ticket",
      "arguments": {
        "ticket_id": 1,
        "body": "body"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "ticket_id": 10482,
    "message_id": 5530917,
    "status": "queued",
    "ticket_status": "closed"
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.