Get reporting histograms

This endpoint returns histograms that could be used in charts on reporting systems.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

This specifies the metric that you're trying to get the histogram for. Accepted metrics are 'average_tickets_created', 'average_tickets_created_same_day', 'created_tickets', 'assigned_tickets', or 'closed_tickets'.

string

It returns the data based on the interval you set, it could be either 'hour', 'day', 'week', 'month', or 'year'.

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

The 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 end_date.

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

The 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 start_date.

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 label ids.

label_ids[]
string

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

Response

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