Skip to main content

List Past Activities

GET 

/v2/activity_histories

Fetches all of the customer's past activities for your application. Returns all the Activities that are found on the Salesloft Activity Feed. Visit here for more details.

Request

Query Parameters

    per_page integer

    How many records to show per page in the range [1, 100]. Defaults to 25

    page integer

    The current page to fetch results from. Defaults to 1

    include_paging_counts boolean

    Whether to include total_pages and total_count in the metadata. Defaults to false

    sort_by string

    Key to sort on, must be one of: occurred_at, updated_at. Defaults to occurred_at

    sort_direction string

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

    type string

    Filter by the type of activity. Must be one of: added_to_cadence, account_added_to_cadence, call, completed_action, dnc_event, email_reply, external_meeting, live_chat, meeting, meeting_held, message_conversation, note, opportunity_amount_change, opportunity_close_date_change, opportunity_stage_change, received_email, requested_email, residency_change, sent_email, site_visit, share_internal_note, success, task, voicemail, review. Can be provided as an array, or as an object of type[resource_type][]=type

    occurred_at[gt] iso8601 string

    Returns all matching records that are greater than the provided iso8601 timestamp. The comparison is done using microsecond precision.

    occurred_at[gte] iso8601 string

    Returns all matching records that are greater than or equal to the provided iso8601 timestamp. The comparison is done using microsecond precision.

    occurred_at[lt] iso8601 string

    Returns all matching records that are less than the provided iso8601 timestamp. The comparison is done using microsecond precision.

    occurred_at[lte] iso8601 string

    Returns all matching records that are less than or equal to the provided iso8601 timestamp. The comparison is done using microsecond precision.

    pinned boolean

    Filter by the pinned status of activity. Must be 'true' or 'false'

    resource_type string

    Filter by the resource type. A resource is a Salesloft object that the activity is attributed to. A valid resource types must be one of person, account, crm_opportunity. Can be provided as an array

    resource_id undefined[]

    Filter by the resource id. "resource_type" filter is required to use this filter.

    ids undefined[]

    Filter by the activity id.

    updated_at[gt] iso8601 string

    Returns all matching records that are greater than the provided iso8601 timestamp. The comparison is done using microsecond precision.

    updated_at[gte] iso8601 string

    Returns all matching records that are greater than or equal to the provided iso8601 timestamp. The comparison is done using microsecond precision.

    updated_at[lt] iso8601 string

    Returns all matching records that are less than the provided iso8601 timestamp. The comparison is done using microsecond precision.

    updated_at[lte] iso8601 string

    Returns all matching records that are less than or equal to the provided iso8601 timestamp. The comparison is done using microsecond precision.

    user_guid string

    Filter activities by a user's guid.

Responses

Success

Schema
    user_guid string

    UUID of the user this activity is for

    updated_at date-time

    When this record was updated

    type string

    The type of activity

    tags string[]

    A list of tags for this activity

    static_data object

    The static data for this activity

    resource_type string

    Type of the resource this activity is for. One of: account, person

    resource_id integer

    ID of the resource this activity is for. It will be a string for the following resource types: crm_opportunity

    pinned_at date-time

    When this record was pinned

    occurred_at date-time

    When this activity occurred

    id string

    ID of this activity in {type}-{id} format

    failed_dynamic_resources string[]

    A list of remote resource names that failed to load.

    dynamic_data object

    Attributes from associated records. This is specific to the type of activity and may change over time. Not returned for create requests

    created_at date-time

    When this record was created

Loading...