Get Ticket Details Report

This endpoint returns a report of all the tickets that you have in Trengo.

Query Params
int32

Since the response is paginated, if you're willing to get the other pages result, you need to set this parameter up!

string

You can sort the result based on one of the following metrics, 'first_resolution_time_opening_hours', 'first_resolution_time', 'first_response_time_opening_hours', 'first_response_time', 'total_resolution_time_opening_hours', 'total_resolution_time', 'created_at', 'assigned_at', or 'closed_at'.

string

The order of the sorting could be set by either 'asc', or 'desc'.

team_ids[]
array of int32s

You can filter the result based on the provided team ids.

team_ids[]
channel_ids[]
array of int32s

You can filter the result based on the provided channel ids.

channel_ids[]
label_ids[]
array of int32s

You can filter the result based on the provided team ids.

label_ids[]
string

You can filter the result based on the provided direction which could be either 'INBOUND', or 'OUTBOUND'..

statuses[]
array of strings

You can filter the result based on the provided statuses which could be 'OPEN', 'ASSIGNED', 'CLOSED', or 'INVALID'.

statuses[]
string
Defaults to 2024-01-01T00%3A00%3A00%2B01%3A00

The creation start date that would apply on the data you're looking for, the acceptable format is ISO 8601. It has to be provided in combination with created_end_date.

string
Defaults to 2024-01-05T00%3A00%3A00%2B01%3A00

The creation end date that would apply on the data you're looking for, the acceptable format is ISO 8601. It has to be provided in combination with created_start_date.

string
Defaults to 2024-01-01T00%3A00%3A00%2B01%3A00

The closing end date that would apply on the data you're looking for, the acceptable format is ISO 8601. It has to be provided in combination with closed_end_date.

string
Defaults to 2024-01-05T00%3A00%3A00%2B01%3A00

The closing end date that would apply on the data you're looking for, the acceptable format is ISO 8601. It has to be provided in combination with closed_start_date.

string
Defaults to 2024-01-01T00%3A00%3A00%2B01%3A00

The assignation end date that would apply on the data you're looking for, the acceptable format is ISO 8601. It has to be provided in combination with assigned_end_date.

string
Defaults to 2024-01-05T00%3A00%3A00%2B01%3A00

The assignation end date that would apply on the data you're looking for, the acceptable format is ISO 8601. It has to be provided in combination with assigned_start_date.

string

This parameter could be used to replace the page query param, that would solve the limitation for customers with huge amount of tickets.

Response

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json