Texa Desk Application API · Reports
Get Account reports
GET/
Get Account reports for a specific type, metric and date range
Authorization
api_access_tokenheaderrequiredA person's access token (Texa Desk, Profile settings → Access token) or an agent bot's token, in the api_access_token header. It acts as that person, with their role's permissions.
Path parameters
account_idintegerrequiredThe numeric ID of the account
Query parameters
metricstringrequiredThe type of metric
typestringrequiredType of report
idstringThe Id of specific object in case of agent/inbox/label
sincestringThe timestamp from where report should start.
untilstringThe timestamp from where report should stop.
Responses
200Success
valuestringtimestampnumber404reports not found
descriptionstringerrorsarray of objecterrors[].fieldstringerrors[].messagestringerrors[].codestring403Access denied
descriptionstringerrorsarray of objecterrors[].fieldstringerrors[].messagestringerrors[].codestring