Retrieve All Scheduled Callbacks

Sample Request

curl --request GET \
     --urlhttps://api-smartflo.tatateleservices.com/v1/dialer/schedule_call
     --header 'accept: application/json'

📘 Important!

Before we begin, note that the * sign denotes the mandatory variables in each table.

Request Variables (Query Params)

The following parameter is required to fetch multiple users:

Variable Name

Description

Data Type

from_date

Date of scheduled callbacks.

Format- YYYY-MM-DD HH:MM:SS (24-hour format)

string

to_date

Date of scheduled callbacks.

Format - YYYY-MM-DD HH:MM:SS (24-hour format)

string

Sample Response

{
    "ok": true,
    "message": "Fetched Successfully",
    "data": [
        {
            "id": 229,
            "agent_id": "4817",
            "customer_number": "919582520329",
            "note": "",
            "schedule_date_time": "2025-01-22 14:07:00",
            "status": 2,
            "created_by": "4817",
            "inbound_queue": 147,
            "campaign_id": 281,
            "updated_by": "4817",
            "call_detail": null,
            "customer_name": "Paras",
            "assigned_to_name": "Paras",
            "assigned_to": "05046630215",
            "call_end_time": "2025-01-22 14:22:00",
            "created_at": "2025-01-22T03:03:49.000Z",
            "updated_at": "2025-01-22T08:37:05.000Z",
            "reminder_schedule_callbacks": null,
            "reminder_time": null,
            "call_end_min": 15
        }
    ]
}

Response Variables

The response returned is as following:

Variable Name

Description

Data Type

data[i].id

Unique identifier of the callback record.

Integer

data[i].agent_id

Identifier of the agent associated with the callback.

String

data[i].customer_number

Phone number of the customer.

String

data[i].note

Additional notes for the callback. May be empty.

String

data[i].schedule_date_time

Scheduled date and time for the callback (format: YYYY-MM-DD HH:mm:ss).

String

data[i].status

Status of the callback. Possible values may include:

Values: Pending= 0 In progress = 1 Completed = 2

Integer

data[i].created_by

Agent ID of the user who created the callback.

String

data[i].inbound_queue

ID of the inbound queue associated with the callback.

Integer

data[i].campaign_id

ID of the campaign linked to the callback.

Integer

data[i].updated_by

Agent ID of the user who last updated the callback.

String

data[i].call_detail

Detailed call information. Can be null if not present.

Object / Null

data[i].customer_name

Name of the customer.

String

data[i].assigned_to_name

Name of the person the callback is assigned to.

String

data[i].assigned_to

Agent ID or identifier of the person assigned.

String

data[i].call_end_time

Time when the call ended (format: YYYY-MM-DD HH:mm:ss).

String

data[i].created_at

Timestamp of when the callback was created (ISO 8601 format).

String

data[i].updated_at

Timestamp of the last update to the callback (ISO 8601 format).

String

data[i].reminder_schedule_callbacks

Reminder schedule callback details. Can be null.

Object / Null

data[i].reminder_time

Scheduled time for reminder. Can be null.

String / Null

data[i].call_end_min

Total duration of the call in minutes.

Integer

Language
Click Try It! to start a request and see the response here!