Get all webhook logs for a call.
Returns webhook logs if the call belongs to an assistant in your organization.
| Parameter | Type | Required | Description |
|---|---|---|---|
call_id | integer | Yes | The internal call ID (not the call SID) |
| Parameter | Type | Required | Description |
|---|---|---|---|
webhook_type | string | No | Filter by webhook type (e.g., call_started, call_ended, transcript) |
| Field | Type | Description |
|---|---|---|
id | integer | Unique webhook log ID |
call_id | integer | ID of the parent call |
assistant_id | integer | ID of the assistant that triggered the webhook |
webhook_url | string | The URL where the webhook was sent |
webhook_type | string | Type of webhook event |
request_payload | object | The JSON payload sent to the webhook URL |
response_status_code | integer | HTTP status code returned by your server |
response_body | string | Response body from your server (truncated if large) |
response_time_ms | integer | Time taken for your server to respond (milliseconds) |
attempted_at | string | When the webhook was attempted (ISO 8601) |
success | boolean | Whether the delivery was successful |
error_message | string | Error message if delivery failed |
retry_count | integer | Number of retry attempts made |
webhook_metadata | object | Additional metadata about the webhook |
| Type | Description |
|---|---|
call_started | Sent when a call begins |
call_ended | Sent when a call completes |
transcript | Sent for real-time transcript updates |
tool_call | Sent when a tool/function is invoked |
transfer_initiated | Sent when a call transfer begins |
sms_received | Sent when an SMS is received |
webhook_url on your assistantBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Filter by webhook type
Successful Response