Reports and data
Report tickets by type
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the tickets:read ability
Query parameters
fromstringFirst day, 2006-01-02. Defaults to 30 days ago.
tostringLast day included, 2006-01-02. Defaults to today.
Response 200
OKdataobject[] | nullrequiredThe items, as a list; empty when there are none.
Show child attributesHide child attributes
createdintegerrequiredHow many tickets of this type were created in the reported range.
Format: int64
kindstringrequiredWhat tickets of this type are: customer, back_office or tracker.
namestringrequiredThe ticket type's name.
openintegerrequiredHow many tickets of this type are open now.
Format: int64
resolvedintegerrequiredHow many tickets of this type were resolved in the reported range.
Format: int64
type_idstringrequiredId of the ticket type, such as tktt_....
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.