Get Calls List

Description

This API allows you to fetch the list of call conversations from your Zoho SalesIQ account. You can filter the results based on call status, department, brand, date range, visitor type, and more.

Query Parameters

ParameterTypeDescriptionExample
limitintNumber of call records to retrieve (pagination).10
indexintStarting index for paginated results.0
include_fieldsstringAdditional data to include in the response (comma-separated).brand,department,conversation
statusstringFilter calls by status. Accepted values: cancelled, missed, rejected, initiated, accepted, ended, connected.missed
department_idslongComma-separated department IDs to filter calls.359526000000002024,359526000000002025
conversation_idslongComma-separated conversation IDs to fetch calls associated with those conversation. 110000005344235848,10000005344235880
attender_idslongComma-separated operator IDs who attended the calls.59526000000024031,59526000000024030
brand_idslongComma-separated brand IDs to filter calls.359526000000002242
from_timelongStart time for filtering calls (epoch in milliseconds).1742552131206
to_timelongEnd time for filtering calls (epoch in milliseconds).1742552171662 
visitor_typestringFilter based on visitor type. Accepted values: lead, contact.lead
emailstringFilter by visitor email address.jack@zoho.com
sort_bystringSort the call list using call time based filters. Accepted values: initiated_time, pickup_time, end_time, missed_timeinitiated_time
orderstringSort the call list using order. Accepted values: ascending, descendingascending

OAuth Scope

SalesIQ.media.READ

Method

GET

URL

Copiedhttps://{[zohosalesiq_server_uri](https://www.zoho.com/salesiq/help/developer-section/rest-api-v2.html)}/api/v2/{screen_name}/calls

Example

Copiedhttps://salesiq.zoho.com/api/v2/zylker/calls

Payload

Copied{
  "limit": 10,
  "index": 0,
  "include_fields": "brand,department,conversation",
  "status": "missed",
  "department_ids": "359526000000002024,359526000000002025",
  "conversation_ids": "110000005344235848,10000005344235880",
  "attender_ids": "59526000000024031,59526000000024030",
  "brand_ids": "359526000000002242",
  "from_time": 1742552171662,
  "to_time": 1742552131206,
  "visitor_type": "lead",
  "email": "jack@zoho.com",
  "sort_by": "initiated_time",
  "order": "ascending"
}

Sample response

Copied{
  "url": "/api/v2/zylker/calls",
  "object": "list",
  "data": [
    {
      "brand": {
        "name": "media",
        "id": "359526000000002242"
      },
      "last_attender": {
        "id": "359526000000024031"
      },
      "id": "359526000000451169",
      "created_time": "1742552117647",
      "pickup_time": "1742552131206",
      "connected_time": "1742552136865",
      "end_time": "1742552171662",
      "missed_time": "1742552171662",
      "status": "ended",
      "initiated_by": {
        "type": "operator",
        "id": "359526000000002024"
      },
      "type": "audio",
      "ended_by": {
        "type": "operator",
        "id": "359526000000002024"
      },
      "voice_message_available": false,
      "recording_available": true,
      "transcript_available": true,
      "summary_available": true,
      "department": {
        "name": "media",
        "id": "359526000000002024"
      },
      "conversation": {
        "status": "Attended Online",
        "type": "call",
        "in_time": "1742552113453",
        "reference_id": "402",
        "id": "359526000000451167"
      }
    },
    {
      "brand": {
        "name": "media",
        "id": "359526000000002242"
      },
      "last_attender": {
        "image_key": "",
        "email": "james@zylker",
        "name": "James",
        "id": "359526000000024031"
      },
      "id": "359526000000451170",
      "created_time": "1742552131205",
      "pickup_time": "1742552131207",
      "connected_time": "1742552131210",
      "end_time": "1742552131310",
      "missed_time": "1742552171662",
      "status": "accepted",
      "initiated_by": {
        "type": "operator",
        "id": "359526000000002024"
      },
      "type": "audio",
      "ended_by": {
        "type": "operator",
        "id": "359526000000002024"
      },
      "voice_message_available": true,
      "recording_available": true,
      "transcript_available": true,
      "summary_available": true,
      "department": {
        "name": "media",
        "id": "359526000000002024"
      },
      "conversation": {
        "status": "Attended Online",
        "type": "call",
        "in_time": "1742552113453",
        "reference_id": "402",
        "id": "359526000000451167"
      }
    }
  ]
}