Skip to main content
WEBHOOK
Post-call-event
{
  "date": "2023-08-21T06:43:36.000Z",
  "from": "14302287001",
  "to": "33170363950",
  "disposition": "answered",
  "duration": 6,
  "destination": "France",
  "per_minute": "0.027",
  "charge": "0.822",
  "sip_trunk": "32882",
  "forward_fee": "0.0",
  "uuid": "99df5ffd-962a-410f-bcce-d08f1f7f328c",
  "parent_uuid": "99df5ffd-962a-410f-bcce-d08f1f7f328c",
  "answered_by": "human"
}

Body

application/json

A CDR of a single call

date
string<date-time>
required

Date and time of the call

Example:

"2023-08-21T06:43:36.000Z"

from
string
required

ANI/From attribute of the call

Example:

"14302287001"

to
string
required

DNIS/To attribute of the call

Example:

"33170363950"

disposition
enum<string>
required

Call disposition

Available options:
answered,
noanswer,
busy,
failed,
all
duration
integer
required

Duration of the call, in seconds

Example:

6

destination
string
required

Destination of the call. For outbound calls, it contains the country name and, optionally, the mobile carrier or city name. For inbound calls, it contains the user-defined name of a SIP trunk, a SIP URI, or a PSTN number to which the call was forwarded.

Example:

"France"

per_minute
string
required

Price per minute, in USD

Example:

"0.027"

charge
string
required

Total charge for the call, in USD

Example:

"0.822"

uuid
string
required

Call ID

Example:

"99df5ffd-962a-410f-bcce-d08f1f7f328c"

sip_trunk
string

System-generated login of a SIP trunk. For outbound calls only.

Example:

"32882"

forward_fee
string

PSTN forwarding price, in USD. For inbound calls only when forwarded to PSTN.

Example:

"0.0"

parent_uuid
string | null

Parent UUID

Example:

"99df5ffd-962a-410f-bcce-d08f1f7f328c"

answered_by
string | null

Answered by

Example:

"human"

Response

200

Return a 200 status to indicate that the data was successfully received

I