Skip to main content
PATCH
/
support
/
tickets
/
{id}
Update ticket status
curl --request PATCH \
  --url https://xquik.com/api/v1/support/tickets/{id} \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "status": "<string>"
}
'
Free — does not consume credits
Support tickets are free for all authenticated users.
curl -X PATCH https://xquik.com/api/v1/support/tickets/tkt_a1b2c3d4e5f6a1b2c3d4e5f6 \
  -H "x-api-key: xq_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "resolved"
  }' | 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

status
string
required
New status. One of: open, resolved, closed. The in_progress status is set by support staff and cannot be set via the API.

Response

publicId
string
Unique ticket public ID.
status
string
Updated ticket status.
{
  "publicId": "tkt_a1b2c3d4e5f6a1b2c3d4e5f6",
  "status": "resolved"
}
Related: Get Ticket to fetch ticket details and message history, or Reply to Ticket to add a message.