Reply to a ticket
POST/api/v1/support/tickets/{id}/messages
Adds a message from the caller to one of their tickets. Replying
sets the ticket's status back to open, whatever it was, so a
resolved or closed ticket is reopened by answering it.
body is required (surrounding spaces are trimmed).
Requires no scope.
Authorization
Parameters
Path parameters
idstring requiredThe ticket's ID.
Request body required
bodystring requiredThe message.
Responses
201
The message was added.
successbooleandataTicketMessageShow TicketMessage properties
idstringticket_idstringauthor_idstringauthor_typestringuserfor the ticket's owner,adminfor EvoHub support.bodystringcreated_atstring (date-time)
400
The body is not JSON (INVALID_JSON), or body is missing or blank (VALIDATION_ERROR).
successbooleanSent by Support; the gateway's own refusals leave it out.errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
successbooleanSent by Support; the gateway's own refusals leave it out.errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
The ticket does not exist, or it is not one of the caller's own (NOT_FOUND).
successbooleanSent by Support; the gateway's own refusals leave it out.errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
successbooleanSent by Support; the gateway's own refusals leave it out.errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
successbooleanSent by Support; the gateway's own refusals leave it out.errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X POST 'https://evohub.io/api/v1/support/tickets/tkt_3f9a1c2e7b5d4a60/messages' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"body": "Confirmed, deliveries are on time again. Thank you!"
}'
