Inbound call ended

An inbound call has hung up

Example

{
  "id": "a0331744032581221927Lm4RtYvB8nQe",
  "at": "2025-04-07T13:29:41.221Z",
  "sid": "p7w2dz5c",
  "type": "v2.call.inbound.ended",
  "try": 0,
  "payload": {
    "direction": "inbound",
    "callid": 240711945874,
    "bridged": 240711945875,
    "callerName": "John Doe",
    "callerNumber": "+33639983040",
    "callerRestricted": false,
    "callee": "+33199001030",
    "started": "2025-04-07T13:29:30.512Z",
    "answered": "2025-04-07T13:29:31.034Z",
    "ended": "2025-04-07T13:29:41.090Z",
    "status": "answered",
    "hangupSource": "caller",
    "hangupCause": 16,
    "hangupTech": "sip:200",
    "durationTotal": 11,
    "durationAnswered": 10,
    "durationBilled": 60,
    "billingDestinationLabel": "France - Geographic",
    "billingDestinationID": 42,
    "billingDebit": "1.50",
    "billingCredit": "0.00",
    "billingPaymentType": "prepaid",
    "scenarioSid": "q5t9mw2e",
    "scenarioName": "My Call Flow",
    "scenarioTypeName": "Actions",
    "scenarioTypeVersion": "1.0"
  }
}
Payload
string
required

Unique identifier for the event. Use this for idempotency checks.

date-time
required

Timestamp of the event

string
required
length between 8 and 8
^[a-z0-9]{8}$

Unique identifier for the webhook

const
enum
required
  • v2.billing.credit.topup = Your account has been credited with a new amount.
  • v2.billing.credit.warning = Your prepaid balance has reached its warning level.
  • v2.billing.credit.shutdown = Your prepaid balance has reached its shutdown level. Your account is suspended.
  • v2.call.inbound.started = An inbound call just started.
  • v2.call.inbound.ended = An inbound call just hung up.
  • v2.call.outbound.started = An outbound call just started.
  • v2.call.outbound.ended = An outbound call just hung up.
  • v2.number.assigned = A phone number was assigned to your account.
  • v2.number.unassigned = A phone number was unassigned from your account.
  • v2.task.updated = A task has been updated.
  • v2.audio-file.updated = An audio file has been updated.
  • v2.recording.updated = A recording has been updated.
  • v2.sms.inbound.received = An inbound SMS has been received.
  • v2.sms.outbound.updated = An outbound SMS has an updated status.
Allowed:
integer
required
0 to 10

Number of attempts made to deliver the webhook

payload
object
required
Response
2XX

OK

LoadingLoading…