Skip to main content
POST
Post-call-event

Authorizations

appid
string
query
required

An API key to authorize your request

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<int32>
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