Skip to content

Callbacks API

Scheduling and management of callback requests.

Endpoints

Callbacks—Update API

Update details of a scheduled callback.

Endpoint: POST /callbacks/update

Authentication: Required (auth_token)

Parameters

NameTypeRequiredDescription
auth_tokenstringYesAuthentication token
callback_idstringYesID of callback to update
user_idstringNoReassign callback to different user
recipientstringNoRecipient type: system or personal
commentsstringNoCallback comments/notes
callback_time_zonenumberNoTimezone offset (e.g., -7.00 for MST)
callback_timestringNoCallback time in YYYY-MM-DD hh:mm AM/PM format
callback_statusstringNoStatus: dismissed (or leave unchanged)

Request Example

POST https://api.convoso.com/v1/callbacks/update
Content-Type: application/x-www-form-urlencoded

auth_token=abc123&callback_id=9999&callback_time=2026-03-05%2002:30%20PM&callback_time_zone=-7.00&comments=Customer%20requested%20callback

Response Example

json
{
  "success": true,
  "data": {
    "callback_id": "9999"
  }
}

Response Fields

FieldTypeDescription
successbooleanSuccess status of update
dataobjectResponse data object
data.callback_idstringUpdated callback ID

Callbacks—Search API

Search for scheduled system or personal callbacks.

Endpoint: POST /callbacks/search

Authentication: Required (auth_token)

Parameters

NameTypeRequiredDescription
auth_tokenstringYesAuthentication token
start_datestringNoStart date in YYYY-MM-DD format
end_datestringNoEnd date in YYYY-MM-DD format
offsetintegerNoPagination offset (default 0, max 50000)
limitintegerNoResults per page (default 20, max 5000)
campaign_idstringNoFilter by campaign ID
idstringNoFilter by callback ID
lead_idstringNoFilter by lead ID
list_idstringNoFilter by list ID
recipientstringNoFilter by recipient: System or Personal
user_idstringNoFilter by user ID
stagestringNoFilter by stage: COMPLETED, PAST_DUE, PENDING, DISMISSED

Request Examples

POST https://api.convoso.com/v1/callbacks/search
Content-Type: application/x-www-form-urlencoded

auth_token=abc123
POST https://api.convoso.com/v1/callbacks/search
Content-Type: application/x-www-form-urlencoded

auth_token=abc123&start_date=2026-03-01&end_date=2026-03-05&stage=PENDING
POST https://api.convoso.com/v1/callbacks/search
Content-Type: application/x-www-form-urlencoded

auth_token=abc123&campaign_id=111&recipient=System&limit=50

Response Example

json
{
  "offset": 0,
  "limit": 20,
  "total": 150,
  "results": [
    {
      "id": "657",
      "lead_id": "12345",
      "list_id": "333",
      "campaign_id": "111",
      "status": "ACTIVE",
      "created_at": "2026-03-03 10:00:00",
      "callback_time": "2026-03-05 02:30 PM",
      "modified_at": "2026-03-03 14:30:00",
      "user": "Jane Smith",
      "recipient": "system",
      "comments": "Customer requested callback",
      "stage": "PENDING",
      "user_name": "jane.smith@company.com",
      "campaign_name": "Sales Campaign"
    },
    {
      "id": "658",
      "lead_id": "12346",
      "list_id": "333",
      "campaign_id": "111",
      "status": "ACTIVE",
      "created_at": "2026-03-02 11:00:00",
      "callback_time": "2026-03-04 10:00 AM",
      "modified_at": "2026-03-03 12:00:00",
      "user": "John Doe",
      "recipient": "personal",
      "comments": "Follow-up on previous call",
      "stage": "COMPLETED",
      "user_name": "john.doe@company.com",
      "campaign_name": "Sales Campaign"
    }
  ]
}

Response Fields

Root Level:

FieldTypeDescription
offsetintegerPagination offset
limitintegerResults per page
totalintegerTotal matching callbacks
resultsarrayArray of callback objects

Callback Object:

FieldTypeDescription
idstringCallback ID
lead_idstringAssociated lead ID
list_idstringAssociated list ID
campaign_idstringAssociated campaign ID
statusstringCurrent status (ACTIVE, etc.)
created_atstringWhen callback was created
callback_timestringScheduled callback time
modified_atstringLast modification timestamp
userstringAssigned agent name
recipientstringCallback recipient (system/personal)
commentsstringCallback notes/comments
stagestringCurrent stage (see stage values below)
user_namestringAgent email/username
campaign_namestringCampaign name

Callback Stages

StageDescription
COMPLETEDCallback was successfully completed
PAST_DUECallback time has passed without action
PENDINGCallback is scheduled and waiting
DISMISSEDCallback was manually dismissed

Callback Recipients

RecipientDescription
SystemCallback managed by system (auto-dial)
PersonalCallback assigned to specific agent

Filtering Examples

All pending callbacks:

POST https://api.convoso.com/v1/callbacks/search
Content-Type: application/x-www-form-urlencoded

auth_token=abc123&stage=PENDING

System callbacks for campaign:

POST https://api.convoso.com/v1/callbacks/search
Content-Type: application/x-www-form-urlencoded

auth_token=abc123&campaign_id=111&recipient=System

Personal callbacks for agent:

POST https://api.convoso.com/v1/callbacks/search
Content-Type: application/x-www-form-urlencoded

auth_token=abc123&user_id=12345&recipient=Personal

Callbacks in date range:

POST https://api.convoso.com/v1/callbacks/search
Content-Type: application/x-www-form-urlencoded

auth_token=abc123&start_date=2026-03-01&end_date=2026-03-05

Specific lead callbacks:

POST https://api.convoso.com/v1/callbacks/search
Content-Type: application/x-www-form-urlencoded

auth_token=abc123&lead_id=12345

Callbacks—Delete API

Delete a callback entry.

Endpoint: POST /callbacks/delete

Authentication: Required (auth_token)

Parameters

NameTypeRequiredDescription
auth_tokenstringYesAuthentication token
callback_idstringYesID of callback to delete

Request Example

POST https://api.convoso.com/v1/callbacks/delete
Content-Type: application/x-www-form-urlencoded

auth_token=abc123&callback_id=657

Response Example

json
{
  "success": true
}

Response Fields

FieldTypeDescription
successbooleanSuccess status of deletion

Callbacks—Insert API

Insert a new callback.

Endpoint: POST /callbacks/insert

Authentication: Required (auth_token)

Parameters

NameTypeRequiredDescription
auth_tokenstringYesAuthentication token
lead_idstringYesID of lead for callback
user_idstringNoAssign to specific user/agent
recipientstringYesRecipient type: system or personal
commentsstringNoCallback comments
callback_time_zonenumberYesTimezone offset (e.g., -7.00, -5.00)
callback_timestringYesCallback time in YYYY-MM-DD hh:mm AM/PM format

Timezone Reference

TimezoneOffset
PST-8.00
MST-7.00
CST-6.00
EST-5.00
GMT0.00
BST+1.00
CET+1.00
IST+5.30

Request Example

POST https://api.convoso.com/v1/callbacks/insert
Content-Type: application/x-www-form-urlencoded

auth_token=abc123&lead_id=12345&recipient=system&callback_time_zone=-7.00&callback_time=2026-03-05%2002:30%20PM&comments=Customer%20requested%20callback
POST https://api.convoso.com/v1/callbacks/insert
Content-Type: application/x-www-form-urlencoded

auth_token=abc123&lead_id=12345&user_id=22222&recipient=personal&callback_time_zone=-6.00&callback_time=2026-03-06%2010:00%20AM

Response Example

json
{
  "success": true,
  "data": {
    "callback_id": "657"
  }
}

Response Fields

FieldTypeDescription
successbooleanSuccess status
dataobjectResponse data
data.callback_idstringID of newly created callback

Time Format Notes

  • Use 12-hour format with AM/PM
  • Example: 2026-03-05 02:30 PM for March 5, 2026 at 2:30 PM
  • Timezone offset determines call time relative to system
  • Consider agent's local timezone for personal callbacks

Use Cases

  1. System Callbacks: Auto-dial callback to lead
  2. Personal Callbacks: Reminder for agent to call lead
  3. Appointment Reminders: Schedule reminder calls
  4. Follow-up Scheduling: Plan future contact
  5. Customer Service: Honor customer call-back requests

Workflow Examples

Creating a System Callback

POST /callbacks/insert
- lead_id: 12345
- recipient: system
- callback_time: 2026-03-05 02:30 PM
- callback_time_zone: -7.00

Results in: System automatically dials the lead at scheduled time

Creating a Personal Callback

POST /callbacks/insert
- lead_id: 12345
- user_id: 22222
- recipient: personal
- callback_time: 2026-03-05 02:30 PM
- callback_time_zone: -7.00

Results in: Agent sees reminder to call lead at scheduled time

Updating a Callback

POST /callbacks/update
- callback_id: 657
- callback_time: 2026-03-06 03:00 PM
- callback_time_zone: -7.00

Results in: Callback time rescheduled to new time

Finding Pending Callbacks

POST /callbacks/search
- stage: PENDING
- start_date: 2026-03-03
- end_date: 2026-03-05

Results in: List of all pending callbacks in date range


Pagination

For large result sets, use offset and limit:

POST /callbacks/search
auth_token=abc123&limit=20&offset=0

POST /callbacks/search
auth_token=abc123&limit=20&offset=20

POST /callbacks/search
auth_token=abc123&limit=20&offset=40

Error Handling

Search Error Codes

CodeDescription
6026Invalid campaign ID
6042Invalid list ID
6006Invalid user ID
6031Invalid date format

Insert Error Codes

CodeDescription
6070Invalid lead ID
6071Invalid callback time format
6072Invalid timezone

Update Error Codes

CodeDescription
6073Invalid callback ID
6074Callback not found

Delete Error Codes

CodeDescription
6073Invalid callback ID
6074Callback not found

General Error Responses

IssueResponse
Invalid auth_token{"success": false, "error": "Invalid authentication token"}
Callback not found{"success": false, "error": "Callback not found"}
Lead not found{"success": false, "error": "Lead not found"}
Invalid time format{"success": false, "error": "Invalid callback time format"}
Invalid timezone{"success": false, "error": "Invalid timezone offset"}
Invalid stage{"success": false, "error": "Invalid callback stage"}

Last Updated: 2026-03-03

Community project — not affiliated with or endorsed by Convoso.