Analytics

You can use the API to get the analytics data.

get
Get the average waiting response time.

https://api.tiledesk.com/v2/:project_id/analytics/requests/waiting
This is calculated over the last 30 days.
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the average waiting response time of the last day

https://api.tiledesk.com/v2/:project_id/analytics/requests/waiting/day/last
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the conversations count of the last 30 days

https://api.tiledesk.com/v2/:project_id/analytics/requests/count
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the conversations count aggregated by the status field of the last 30 days

https://api.tiledesk.com/v2/:project_id/analytics/requests/aggregate/status
With this endpoint you can get how many assigned, unassigned and archived conversations do you have.
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the conversations count aggregated by days.

https://api.tiledesk.com/v2/:project_id/analytics/requests/aggregate/day
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the conversations count aggregated by months.

https://api.tiledesk.com/v2/:project_id/analytics/requests/aggregate/month
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the conversations count aggregated by weeks.

https://api.tiledesk.com/v2/:project_id/analytics/requests/aggregate/week
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the conversations count aggregated by hours.

https://api.tiledesk.com/v2/:project_id/analytics/requests/aggregate/hours
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the median conversations length.

https://api.tiledesk.com/v2/:project_id/analytics/requests/duration
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the median conversations length calculated over the last 30 days.

https://api.tiledesk.com/v2/:project_id/analytics/requests/duration
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the average customers rating of the conversations (Customer satisfaction)

https://api.tiledesk.com/v2/:project_id/analytics/requests/satisfaction
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the number of the conversations handled by a bot

https://api.tiledesk.com/v2/:project_id/analytics/requests/hasBot/count
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the total number of the messages sent and received during the last 30 days

https://api.tiledesk.com/v2/:project_id/analytics/messages/count
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....

get
Get the total number of the messages sent and received aggregated by days during the last 30 days

https://api.tiledesk.com/v2/:project_id/analytics/messages/aggregate/day
Request
Response
Request
Path Parameters
project_id
required
string
the Project Id is a unique code assigned to your project when you create it in Tiledesk.
Headers
Authorization
required
string
Authorization token. Basic Auth or JWT. Minumun role: admin
Response
200: OK
....