Add a reply message to an existing support ticket to continue the conversation
cURL
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>" } '
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
tkt_a1b2c3d4e5f6a1b2c3d4e5f6
application/json
{ "publicId": "tkt_a1b2c3d4e5f6a1b2c3d4e5f6" }
{ "error": "invalid_input", "message": "Invalid input. Check the request body." }
body
{ "error": "unauthenticated", "message": "Authentication required. Provide a valid API key or bearer token." }
{ "error": "not_found", "message": "Ticket not found" }
Was this page helpful?