Skip to main content
POST
Chat usage
Required scopes: reports_read

Authorizations

Authorization
string
header
required

Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.

Body

application/json
timezone
string

The IANA Time Zone identifier (for example, America/Phoenix). By default, the timezone is taken from the request. If not provided, it's taken from the agent's timezone. When the agent's timezone cannot be determined, filters.from is used to derive it.

filters
object

Filters for the Chat Usage report. If none provided, the report spans the last seven days.

Response

200 - application/json

OK.

records
object

Contains <tag>:<chat_count> pairs.