Tickets
List a tracker's conversations
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the tickets:read ability
Path parameters
ticketstringrequiredId of the ticket, starting with tkt_, such as tkt_01jx2m8k4t. Find it with GET /tickets.
Query parameters
cursorstringLeave out for the first page. To read the next page, pass the next_cursor the previous page returned.
Maximum length: 64
Response 200
OKdataobject[] | nullrequiredThe conversations linked to the tracker, each with its customer, company, plan and revenue.
Show child attributesHide child attributes
company_idstring | nullrequiredId of the customer's company, such as cmp_.... Null when they have none.
company_namestring | nullrequiredName of the customer's company. Null when they have none.
company_planstring | nullrequiredThe company's plan. Null when it has none.
company_revenuenumberrequiredThe company's monthly revenue, read from its monthly_spend or mrr attribute; 0 when neither is a number.
Format: double
contact_emailstring | nullrequiredThe customer's email address. Null when unknown.
contact_idstringrequiredId of the customer in the conversation, such as ctc_.... Send it wherever a contact is asked for.
contact_namestring | nullrequiredThe customer's name. Null when unknown.
conversation_idstringrequiredId of the linked conversation, such as conv_.... Send it wherever a conversation is asked for.
conversation_numberintegerrequiredThe conversation's number within the workspace.
Format: int64
last_message_atstring | nullrequiredWhen the conversation last had a message. Null when it has none.
Format: date-time
link_idstringrequiredId of the link joining the conversation to the tracker, such as tktl_.... Use it to remove the link.
linked_atstringrequiredWhen the conversation was linked to the tracker.
Format: date-time
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
statusstringrequiredThe conversation's status: open, snoozed or closed.
subjectstring | nullrequiredThe conversation's subject. Null when it has none.
ticket_idstring | nullrequiredId of the conversation's own customer ticket, such as tkt_.... Null when the conversation is not a ticket.
ticket_referencestring | nullrequiredShort reference of the conversation's own ticket, such as T-42. Null when the conversation is not a ticket.
ticket_state_idstring | nullrequiredId of the state the conversation's own ticket is in, such as tkts_.... Null when the conversation is not a ticket.
metaobjectrequiredShow child attributesHide child attributes
impactobjectrequiredShow child attributesHide child attributes
companiesintegerrequiredHow many companies the tracker reaches through its linked conversations.
Format: int64
conversationsintegerrequiredHow many conversations are linked to the tracker.
Format: int64
customersintegerrequiredHow many customers the tracker reaches through its linked conversations.
Format: int64
revenuenumberrequiredTotal monthly revenue of the companies reached, read from each company's monthly_spend or mrr attribute; a company with neither counts as 0.
Format: double
next_cursorstring | nullrequiredCursor of the next page of conversations; send it back as the cursor to read on. Null on the last page.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.