Skip to main content
WEBHOOK

Body

application/json

Callback payload.

Post-call webhook payload

direction
enum<string>
required

Direction of the call. One of inbound (call received by the account) or outbound (call placed by the account).

Available options:
inbound,
outbound
Example:

"outbound"

uuid
string
required

Call ID

Example:

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

destination
string | null
required

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

Example:

"France"

duration
integer<int32>
required

Duration of the call, in seconds

Example:

6

charge
string
required

Total charge for the call, in USD

Example:

"0.822"

date
string<date-time>
required

Date and time of the call

Example:

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

disposition
enum<string>
required

Final disposition of the call. One of answered (the called party answered), noanswer (no answer within the ring timeout), busy (the called party was busy), failed (the call could not be routed), or all (matches any disposition when used as a filter).

Available options:
answered,
noanswer,
busy,
failed,
all
from
string | null
required

ANI/From attribute of the call

Example:

"14302287001"

to
string | null
required

DNIS/To attribute of the call

Example:

"33170363950"

per_minute
string
required

Price per minute, in USD

Example:

"0.027"

Response

200

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