Fetch task counts
GET/v2/tasks/counts
Fetches task counts data grouped by the task type.
Request
Query Parameters
IDs of tasks to fetch.
Filters tasks by the user to which they are assigned.
Filters tasks by the person to which they are associated.
Filters tasks by the account to which they are associated.
Filters tasks by their current state. Valid current_states include: ['scheduled', 'completed'].
Filters tasks by their task type. Valid task_types include: ['call', 'email', 'general'].
Filters tasks by time interval. Valid time_intervals include: ['overdue', 'today', 'tomorrow', 'this_week', 'next_week'].
Filters tasks by time interval. Valid time_intervals include: ['today', 'yesterday', 'this_week', 'previous_week', 'this_month'].
Filters tasks by idempotency key.
Filters tasks by locale of the person to which they are associated.
Filters tasks by source.
Key to sort on, must be one of: salesloft.prioritizers/rhythm.
Direction to sort in, must be one of: ASC, DESC.
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
Number of tasks with type :call
Number of tasks with type :email
Number of tasks with type :general
Number of tasks with type :integration
Number of tasks of non-basic types
Number of all tasks
{
"call": 1,
"email": 1,
"general": 1,
"integration": 1,
"other": 1,
"total": 1
}