Skip to main content
GET
/
v1
/
call-log
cURL
curl --request GET \
  --url https://client-api.salesfinity.co/v1/call-log \
  --header 'x-api-key: <api-key>'
Retrieves a paginated list of call logs from the system. Use this endpoint to access call logs with metadata, such as timestamps, dispositions, and contact information.

Query Parameters

Pagination & Sorting

  • limit (optional, number): Number of items per page (default: 10, max: 100)
  • page (optional, number): The current page number to retrieve (default: 1)
  • sort (optional, string): Sort field with optional - prefix for descending order (default: -createdAt)

Filters

All filters are passed as query parameters with the filters[field] format.
Date Filters
  • filters[start_date] (optional, ISO 8601 date): Start of date range
  • filters[end_date] (optional, ISO 8601 date): End of date range
Call Properties
  • filters[outcome] (optional, string): Filter by call outcome
    • answered - Call was answered
    • no-answer - Call was not answered
    • cancelled - Call was cancelled
  • filters[direction] (optional, string): Filter by call direction
    • inbound - Incoming calls
    • outbound - Outgoing calls
  • filters[min_duration] (optional, number): Minimum call duration in seconds
  • filters[max_duration] (optional, number): Maximum call duration in seconds
  • filters[has_recording] (optional, boolean): Filter by recording availability
    • true - Only calls with recordings
    • false - Only calls without recordings
  • filters[answered_by] (optional, string): Filter by who answered
    • human - Answered by a person
    • machine_start - Answered by voicemail/machine
  • filters[is_completed] (optional, boolean): Filter by completion status
Disposition Filters
  • filters[disposition_ids] (optional, number[]): Filter by disposition IDs. See Get Dispositions for available IDs.
  • filters[exclude_negative_dispositions] (optional, boolean): When true, only returns calls with positive dispositions (Meeting Set, Referral, Callback Later, etc.)
Entity Filters
  • filters[user_ids] (optional, string[]): Filter by user IDs
  • filters[contact_list_ids] (optional, string[]): Filter by contact list IDs
  • filters[sequences] (optional, string[]): Filter by sequence IDs. See Get Sequences to discover available sequences.
Phone Number Filters
  • filters[from] (optional, string[]): Filter by caller phone numbers
  • filters[to] (optional, string[]): Filter by called phone numbers
Search
  • filters[search] (optional, string): Full-text search across contact name, company, and phone numbers

Example Requests

Basic request with date filter:
GET /v1/call-log?filters[start_date]=2024-01-01&filters[end_date]=2024-01-31
Filter by outcome and minimum duration:
GET /v1/call-log?filters[outcome]=answered&filters[min_duration]=60
Filter by disposition and recording:
GET /v1/call-log?filters[disposition_ids][]=1&filters[disposition_ids][]=4&filters[has_recording]=true
Search with multiple filters:
GET /v1/call-log?filters[search]=Acme&filters[direction]=outbound&page=1&limit=50
Filter by sequence:
GET /v1/call-log?filters[sequences][]=seq_12345&filters[sequences][]=seq_67890

Response

Returns a JSON object containing the list of call logs with pagination metadata.
{
  "data": [
    {
      "_id": "507f1f77bcf86cd799439011",
      "call_id": "call_abc123",
      "outcome": "answered",
      "direction": "outbound",
      "answered_by": "human",
      "duration": 180,
      "to": "+1234567890",
      "from": "+1987654321",
      "disposition": {
        "internal_id": 1,
        "external_id": "meeting_set",
        "external_name": "Meeting Set"
      },
      "contact": {
        "first_name": "John",
        "last_name": "Doe",
        "company": "Acme Corp",
        "email": "[email protected]",
        "title": "VP of Sales"
      },
      "contact_list": {
        "_id": "507f1f77bcf86cd799439022",
        "name": "Q1 Prospects"
      },
      "user": {
        "_id": "507f1f77bcf86cd799439033",
        "first_name": "Jane",
        "last_name": "Smith",
        "email": "[email protected]"
      },
      "recording_url": "https://recordings.example.com/call_abc123.mp3",
      "notes": "Great conversation, follow up next week",
      "is_completed": true,
      "started_at": "2024-01-15T14:30:00.000Z",
      "ended_at": "2024-01-15T14:33:00.000Z",
      "createdAt": "2024-01-15T14:33:00.000Z",
      "updatedAt": "2024-01-15T14:33:00.000Z"
    }
  ],
  "pagination": {
    "total": 150,
    "page": 1,
    "limit": 10,
    "pages": 15
  }
}

Response Fields

FieldTypeDescription
_idstringUnique identifier
call_idstringUnique call identifier
outcomestringCall outcome (answered, no-answer, cancelled)
directionstringCall direction (inbound, outbound)
answered_bystringWho answered (human, machine_start)
durationnumberCall duration in seconds
tostringCalled phone number
fromstringCaller phone number
dispositionobjectDisposition details with internal_id
contactobjectContact information
contact_listobjectAssociated contact list
userobjectUser who made/received the call
recording_urlstringURL to call recording (if available)
notesstringCall notes
transcriptionstringCall transcription (if available)
summarystringAI-generated call summary (if available)
is_completedbooleanWhether the call is completed
started_atdateCall start time
ended_atdateCall end time
createdAtdateRecord creation time
updatedAtdateRecord last update time

Authorizations

x-api-key
string
header
required

Query Parameters

limit
number

Number of items per page.

Required range: 1 <= x <= 100
page
number

The current page number.

Required range: x >= 1

Response

default - application/json

A list of call logs with metadata.