List all tasks count

GET {{baseUrl}}/api/v1/tasks/count?viewId=<long> &departmentId=<long>

This API returns the number of tasks in your help desk.

OAuth Scope

  • Desk.tasks.READ

Request Params

KeyDatatypeRequiredDescription
viewIdstringID of the view to apply while fetching the resources
departmentIdstringID of the department from which the task count must be fetched
assigneestringKey that filters tasks by assignee. A valid assigneeId must be passed for this parameter. Multiple assigneeIds can be passed as comma-separated values.
dueDatestringFilter by task duedate. Values allowed are Overdue, Tomorrow, CurrentWeek, CurrentMonth and Today. You can include both values by separating them with a comma

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;count&quot;:&quot;10&quot;}