Get number of an agent’s closed tickets

GET https://desk-api-{{APP_ID}}.sendbird.com/platform/v1/agents/{agent_id}/closed_ticket_counts

Get number of an agent’s closed tickets

Retrieves the number of closed tickets of a specific agent.

For more information, visit:

https://sendbird.com/docs/desk/v1/platform-api/guides/agent#2-get-number-of-an-agent’s-closed-tickets

URL Parameters

Required
  • agent_id
    • Type: int
    • Description: Specifies the unique ID of the target agent.

Request Params

KeyDatatypeRequiredDescription
start_datestringREQUIRED: Specifies a starting date and time that restricts the search scope to retrieve tickets closed between start_date and end_date, in ISO 8601 format.
end_datestringREQUIRED: Specifies an ending date and time that restricts the search scope to retrieve tickets closed between start_date and end_date, in ISO 8601 format.

HEADERS

KeyDatatypeRequiredDescription
SENDBIRDDESKAPITOKENstring