Texa Desk Application API · Reports
Account Reporting Events
GET/
Get paginated reporting events for the account. This endpoint returns reporting events such as first response time, resolution time, and other metrics. Only administrators can access this endpoint. Results are paginated with 25 items per page.
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
pageintegerThe page parameter
sincestringThe timestamp from where events should start (Unix timestamp in seconds)
untilstringThe timestamp from where events should stop (Unix timestamp in seconds)
inbox_idnumberFilter events by inbox ID
user_idnumberFilter events by user/agent ID
namestringFilter events by event name (e.g., first_response, resolution, reply_time)
Responses
200Success
metaobjectmeta.countintegerTotal number of reporting events
meta.current_pageintegerCurrent page number
meta.total_pagesintegerTotal number of pages
payloadarray of objectList of reporting events
payload[].idnumberID of the reporting event
payload[].namestringName of the event (e.g., first_response, resolution, reply_time)
payload[].valuenumberValue of the metric in seconds
payload[].value_in_business_hoursnumberValue of the metric in seconds, calculated only for business hours
payload[].event_start_timestring (date-time)The timestamp when the event started
payload[].event_end_timestring (date-time)The timestamp when the event ended
payload[].account_idnumberID of the account
payload[].conversation_idnumberID of the conversation
payload[].inbox_idnumberID of the inbox
payload[].user_idnumberID of the user/agent
payload[].created_atstring (date-time)The timestamp when the reporting event was created
payload[].updated_atstring (date-time)The timestamp when the reporting event was last updated
403Access denied - Only administrators can access this endpoint
descriptionstringerrorsarray of objecterrors[].fieldstringerrors[].messagestringerrors[].codestring