Skip to main content
POST
/
support
/
tickets
/
{id}
/
messages
Reply to ticket
curl --request POST \
  --url https://xquik.com/api/v1/support/tickets/{id}/messages \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "body": "<string>"
}
'
Free — does not consume credits
Support tickets are free for all authenticated users.
curl -X POST https://xquik.com/api/v1/support/tickets/tkt_a1b2c3d4e5f6a1b2c3d4e5f6/messages \
  -H "x-api-key: xq_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "body": "That worked, thank you!"
  }' | jq

Path parameters

id
string
required
The ticket public ID (e.g. tkt_a1b2c3d4e5f6a1b2c3d4e5f6). Returned when you create a ticket or list tickets.

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Content-Type
string
required
Must be application/json.

Body

body
string
required
Message content. 1-10,000 characters.

Response

publicId
string
Ticket public ID the message was added to.
{
  "publicId": "tkt_a1b2c3d4e5f6a1b2c3d4e5f6"
}
Related: Get Ticket to view the full message history, or Update Ticket Status to resolve or close the ticket.