List call data records
GET/v2/call_data_records
Fetches multiple call data records. The records can be filtered, paged, and sorted according to
the respective parameters.
Call data records are records of all inbound and outbound calls through Salesloft. A call data record may
be associated with a call, but does not have to be.
Please note: Due to performance, the results will exclusively include records created within the past year.
Request
Query Parameters
IDs of call data records to fetch. If a record can't be found, that record won't be returned and your request will be successful
Return only call data records which have or do not have a call logged for them
Equality filters that are applied to the created_at field. A single filter can be used by itself or combined with other filters to create a range
Equality filters that are applied to the updated_at field. A single filter can be used by itself or combined with other filters to create a range
Filters list to only include guids
Filters list by person_id. Multiple person ids can be applied
Filters by specified direction (inbound or outbound)
Filters by specified status
Filters by specified sentiment
Filters by specified disposition
Filters based on the recording existence
Filters list by group id
Key to sort on, must be one of: created_at, updated_at. Defaults to created_at
Direction to sort in, must be one of: ASC, DESC. Defaults to DESC
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
Specifies whether the max limit of 10k records should be applied to pagination counts. Affects the total_count and total_pages data
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
User that made or received the call, if the call was to a user
Datetime of when the call was last updated
Phone number that received the call
The outcome of the call. Can be one of: queued, initiated, ringing, in-progress, completed, busy, no-answer, canceled, failed
Datetime of when the call started
The recording for this this call data record, with a status
ID of CallDataRecord
Phone number that placed the call
Datetime of when the call ended
Length of the call in seconds
Direction of the call. Can be one of: inbound, outbound
The dialer recording resource for the call recording
Datetime of when the call was created
The person called
UUID of the call. Legs of the same call will have the same call_uuid.
Type of the call. Can be one of: call, bridge, collaboration. Though exact values may change over time
Call that this record was logged to, if logged to a call
[
{
"user": {
"id": 2,
"_href": "https://api.salesloft.com/v2/users/2"
},
"updated_at": "2024-03-25T16:40:45.971744Z",
"to": "7705551234",
"status": "completed",
"started_at": "2024-03-25T16:40:45.971828Z",
"recording": {
"url": "http://example.com/recording/1",
"status": "completed",
"recording_status": "processing"
},
"id": 1,
"from": "7705551234",
"ended_at": "2024-03-25T16:40:45.971999Z",
"duration": 60,
"direction": "outbound",
"dialer_recording": {
"uuid": "5c5c1f32-bff1-4b7c-8f2a-bd650b829c67",
"_href": "https://api.salesloft.com/v2/dialer_recordings/5c5c1f32-bff1-4b7c-8f2a-bd650b829c67"
},
"created_at": "2024-03-25T16:40:45.971573Z",
"called_person": {
"id": 3,
"_href": "https://api.salesloft.com/v2/people/3"
},
"call_uuid": "5c5c1f32-bff1-4b7c-8f2a-bd650b829c67",
"call_type": "call",
"call": {
"id": 1,
"_href": "https://api.salesloft.com/v2/activities/calls/1"
}
}
]