Webhook
Video Tutorial
Creating the Webhook Payload
The payload can contain a valid JSON, and you can reference context variables while constructing it using double-brace syntax — for example {{workflow_run_id}}, {{initial_context.*}}, and {{gathered_context.*}}, including the final call outcome {{gathered_context.call_disposition}}.
For the full list of available variables, authentication options, and receiver examples, see the Webhook Payloads developer reference.
An example of the payload is given below
{
"call_id": "{{workflow_run_id}}",
"first_name": "{{initial_context.first_name}}",
"rsvp": "{{gathered_context.rsvp}}",
"disposition": "{{gathered_context.call_disposition}}",
"duration": "{{cost_info.call_duration_seconds}}",
"recording_url": "{{recording_url}}",
"transcript_url": "{{transcript_url}}"
}