Skip to main content

Fetch task counts

GET 

/v2/tasks/counts

Fetches task counts data grouped by the task type.

Request

Query Parameters

    ids integer[]

    IDs of tasks to fetch.

    Example: [1234, 9876]
    user_id integer[]

    Filters tasks by the user to which they are assigned.

    Example: [1234, 9876]
    person_id integer[]

    Filters tasks by the person to which they are associated.

    Example: [1234, 9876]
    account_id integer[]

    Filters tasks by the account to which they are associated.

    Example: [1234, 9876]
    current_state string[]

    Filters tasks by their current state. Valid current_states include: ['scheduled', 'completed'].

    Example: [scheduled, completed]
    task_type string[]

    Filters tasks by their task type. Valid task_types include: ['call', 'email', 'general'].

    Example: [call, email]
    time_interval_filter string

    Filters tasks by time interval. Valid time_intervals include: ['overdue', 'today', 'tomorrow', 'this_week', 'next_week'].

    Example: overdue
    completed_time_interval string

    Filters tasks by time interval. Valid time_intervals include: ['today', 'yesterday', 'this_week', 'previous_week', 'this_month'].

    Example: today
    idempotency_key string

    Filters tasks by idempotency key.

    Example: source-123
    locale string[]

    Filters tasks by locale of the person to which they are associated.

    Example: [US/Eastern]
    source string[]

    Filters tasks by source.

    Example: [salesloft.api, salesloft.cadence, salesloft.signal]
    sort_by string

    Key to sort on, must be one of: salesloft.prioritizers/rhythm.

    sort_direction string

    Direction to sort in, must be one of: ASC, DESC.

Responses

Success

Schema
    call integer

    Number of tasks with type :call

    email integer

    Number of tasks with type :email

    general integer

    Number of tasks with type :general

    integration integer

    Number of tasks with type :integration

    other integer

    Number of tasks of non-basic types

    total integer

    Number of all tasks

Loading...