> For a complete page index, fetch https://docs.synthflow.ai/llms.txt. For full documentation content, fetch https://docs.synthflow.ai/llms-full.txt.

## 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:**

```json
{
  "collected_variables": {
      "user_name": {
        "value": "Julian",
        "collected": true
      },
      "appointment_date": {
        "value": "2025-10-28",
        "collected": true
      },
      "user_email": {
        "value": null,
        "collected": false
      }
  }
}
```

**Updated endpoints:**

| Endpoint                                                      | Title         |
| ------------------------------------------------------------- | ------------- |
| [**GET /calls**](/api-reference/calls/get-all-calls)          | Get all calls |
| [**GET /calls/\{call\_id}**](/api-reference/calls/get-a-call) | Get a call    |

**Post-call Webhook:**

The `collected_variables` field is now included in the [post-call webhook payload](/webhooks) 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