Home / Developers / Call Center API / Call connected notification
CALL CENTER API · ENGLISH REFERENCE

Call connected notification

Sent when both agent and customer legs connect and billing starts. Applies to manual calls, click-to-call, automated outbound and inbound calls.

CallbackCustomer-configured receiving URL

Description

Sent when both agent and customer legs connect and billing starts. Applies to manual calls, click-to-call, automated outbound and inbound calls.

The callback is delivered to the customer-supplied URL configured in the platform.

Notification fields

The notification includes the authentication object and the notify object below.

FieldTypeDescription
typeStringFixed value: callstart
customerStringIntegration customer identifier.
agentStringAgent staff number.
numberStringPhone number.
call_typeStringService type. 1 — Manual dialing; 2 — Inbound call; 3 — Internal call; 4 — Automatic outbound call; 5 — Click-to-call; 19 — Voice verification code; 21 — Voice notification.
seqStringEchoed command sequence.
userDataStringEchoed customer correlation data.
sessionStringCall identifier.
startTimeStringCall start time.
answerTimeStringCall answer time.

Notification example

{
  "authentication": {
    "customer": "<CUSTOMER_ID>",
    "timestamp": "<REQUEST_TIMESTAMP>",
    "seq": "<UNIQUE_SEQUENCE>",
    "digest": "<COMPUTED_DIGEST>"
  },
  "notify": {
    "type": "callstart",
    "customer": "<CUSTOMER_ID>",
    "agent": "<STAFF_NO>",
    "number": "<PHONE_NUMBER>",
    "call_type": "<SERVICE_TYPE>",
    "seq": "<REQUEST_SEQUENCE>",
    "userData": "<REFERENCE>",
    "session": "<CALL_SESSION>",
    "startTime": "<YYYY-MM-DD HH:mm:ss>",
    "answerTime": "<YYYY-MM-DD HH:mm:ss>"
  }
}

Acknowledgment

Return the documented result object; error is an integer, msg is a string.

{
  "result": {
    "error": 0,
    "msg": ""
  }
}
Examples use placeholders. Request your approved connection details and credentials through ANNC onboarding.
WhatsApp