Collected Variables (Slots) now available in Post-call Webhooks and Call APIs

The collected_variables field is now included in post-call webhook payloads and call API responses. This field contains collected variables (slots) from your conversation flows, allowing you to access user-provided information programmatically.

Example Response:

1{
2 "collected_variables": {
3 "agent-id": {
4 "user_name": {
5 "value": "Julian",
6 "collected": true
7 },
8 "appointment_date": {
9 "value": "2025-10-28",
10 "collected": true
11 },
12 "user_email": {
13 "value": null,
14 "collected": false
15 }
16 }
17 }
18}

Updated endpoints:

EndpointTitle
GET /callsGet all calls
GET /calls/{call_id}Get a call

Post-call Webhook:

The collected_variables field is now included in the post-call webhook payload when configured.

Notes:

  • Each variable has a value (the collected data) and collected (boolean indicating successful collection)
  • The collected_variables field may be null if not available for a specific call
  • Variables are keyed by agent ID, then by variable name