Count Tickets in Views
GET {{baseUrl}}/api/v2/views/count_many?ids=<string>
Returns the ticket count of each view in a list of views. Accepts up to 20 view ids per request. For the ticket count of a single view, see Count Tickets in View.
Only returns values for personal and shared views accessible to the user performing the request.
This endpoint is rate limited to 6 requests every 5 minutes.
Allowed For
- Agents
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ids | string | (Required) List of view's ids separated by commas. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"view_counts":[{"fresh":true,"pretty":"~700","url":"https://company.zendesk.com/api/v2/views/25/count.json","value":719,"view_id":25},{"fresh":false,"pretty":"...","url":"https://company.zendesk.com/api/v2/views/78/count.json","value":null,"view_id":78}]}