Read a ticket and its conversation
GET/api/v1/support/tickets/{id}
One of the caller's tickets with every message on it, oldest first.
A message from the caller has author_type user; an answer from
EvoHub support has author_type admin.
Requires no scope.
Authorization
Parameters
Path parameters
idstring requiredThe ticket's ID.
Responses
200
The ticket and its messages.
successbooleandataTicketWithMessagesShow TicketWithMessages properties
ticketTicketShow Ticket properties
idstringorg_idstringuser_idstringWho opened the ticket — the person behind a personal key, or the organization key's own id.subjectstringtypestringstatusstringopenwhen new or after the caller replies. EvoHub support moves it topending,resolvedorclosed.prioritystringreporter_emailstringAs sent when the ticket was opened;""when it was not.reporter_namestringorg_namestringurlstringcreated_atstring (date-time)updated_atstring (date-time)
messagesarray of TicketMessageOldest first.Show TicketMessage properties
idstringticket_idstringauthor_idstringauthor_typestringuserfor the ticket's owner,adminfor EvoHub support.bodystringcreated_atstring (date-time)
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 GET 'https://evohub.io/api/v1/support/tickets/tkt_3f9a1c2e7b5d4a60' \
-H 'Authorization: Bearer <TOKEN>'
