Skip to main content
Receive CDR webhook
curl --request POST \
  --url http://localhost:9511/cdr-webhook \
  --header 'Content-Type: application/json' \
  --data '
{
  "cdr": {
    "transaction_id": "<string>",
    "thread_id": "<string>",
    "agent_id": "<string>",
    "environment_id": "<string>",
    "call": {
      "start_timestamp": "2023-11-07T05:31:56Z",
      "end_reason": "<string>",
      "milliseconds_elapsed": 123
    },
    "turns": [
      {}
    ],
    "failure_occurred": true,
    "system_error": true
  },
  "message": "<string>"
}
'
{
  "status": "<string>",
  "id": "<string>"
}

Body

application/json
cdr
object
message
string

Response

200 - application/json

Webhook processed

status
string
id
string