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
How many records to show per page in the range [1, 100]. Defaults to 25
The current page to fetch results from. Defaults to 1
Whether to include total_pages and total_count in the metadata. Defaults to false
Key to sort on, must be one of: occurred_at, updated_at. Defaults to occurred_at
Direction to sort in, must be one of: ASC, DESC. Defaults to DESC
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
Returns all matching records that are greater than the provided iso8601 timestamp. The comparison is done using microsecond precision.
Returns all matching records that are greater than or equal to the provided iso8601 timestamp. The comparison is done using microsecond precision.
Returns all matching records that are less than the provided iso8601 timestamp. The comparison is done using microsecond precision.
Returns all matching records that are less than or equal to the provided iso8601 timestamp. The comparison is done using microsecond precision.
Filter by the pinned status of activity. Must be 'true' or 'false'
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
Filter by the resource id. "resource_type" filter is required to use this filter.
Filter by the activity id.
Returns all matching records that are greater than the provided iso8601 timestamp. The comparison is done using microsecond precision.
Returns all matching records that are greater than or equal to the provided iso8601 timestamp. The comparison is done using microsecond precision.
Returns all matching records that are less than the provided iso8601 timestamp. The comparison is done using microsecond precision.
Returns all matching records that are less than or equal to the provided iso8601 timestamp. The comparison is done using microsecond precision.
Filter activities by a user's guid.
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
UUID of the user this activity is for
When this record was updated
The type of activity
A list of tags for this activity
The static data for this activity
Type of the resource this activity is for. One of: account, person
ID of the resource this activity is for. It will be a string for the following resource types: crm_opportunity
When this record was pinned
When this activity occurred
ID of this activity in {type}-{id} format
A list of remote resource names that failed to load.
Attributes from associated records. This is specific to the type of activity and may change over time. Not returned for create requests
When this record was created
{
"user_guid": "51398ccd-309e-467f-aae2-4b0f66b5c11d",
"updated_at": "2019-01-01T00:00:00.000000Z",
"type": "email",
"tags": [
"primary"
],
"static_data": {
"email_id": 2
},
"resource_type": "person",
"resource_id": 1,
"pinned_at": "2019-01-01T00:00:00.000000Z",
"occurred_at": "2019-01-01T00:00:00.000000Z",
"id": "sent_email-722488662",
"failed_dynamic_resources": [
"email"
],
"dynamic_data": {
"subject": "Welcome to SalesLoft",
"status": "sent",
"counts": {
"views": 3,
"replies": 1,
"clicks": 2
}
},
"created_at": "2019-01-01T00:00:00.000000Z"
}