curl "https://app.talkover.ai/api/v1/agents/agent-uuid/webhooks/webhook-uuid/logs?per_page=50" \
-H "Authorization: Bearer talq_your_environment_token_here"
{
"success": true,
"data": [
{
"id": "log-uuid-1",
"webhook_id": "webhook-uuid",
"event": "event_phone_call_ended",
"attempt": 1,
"status": "success",
"http_status": 200,
"request_payload": {"call_id": "call-uuid", "duration": 45},
"response_body": "{\"received\":true}",
"response_headers": {"content-type": "application/json"},
"duration_ms": 142,
"delivered_at": "2024-01-15T11:00:01Z",
"created_at": "2024-01-15T11:00:00Z"
},
{
"id": "log-uuid-2",
"webhook_id": "webhook-uuid",
"event": "event_phone_call_started",
"attempt": 3,
"status": "failed",
"http_status": 500,
"error": "Internal Server Error",
"duration_ms": 8021,
"created_at": "2024-01-15T10:55:00Z"
}
],
"pagination": {
"current_page": 1,
"per_page": 50,
"total": 247,
"last_page": 5
}
}
Agent Webhooks
List Webhook Delivery Logs
Retrieve delivery attempts and responses for an agent webhook
GET
/
api
/
v1
/
agents
/
{agent_id}
/
webhooks
/
{webhook_id}
/
logs
curl "https://app.talkover.ai/api/v1/agents/agent-uuid/webhooks/webhook-uuid/logs?per_page=50" \
-H "Authorization: Bearer talq_your_environment_token_here"
{
"success": true,
"data": [
{
"id": "log-uuid-1",
"webhook_id": "webhook-uuid",
"event": "event_phone_call_ended",
"attempt": 1,
"status": "success",
"http_status": 200,
"request_payload": {"call_id": "call-uuid", "duration": 45},
"response_body": "{\"received\":true}",
"response_headers": {"content-type": "application/json"},
"duration_ms": 142,
"delivered_at": "2024-01-15T11:00:01Z",
"created_at": "2024-01-15T11:00:00Z"
},
{
"id": "log-uuid-2",
"webhook_id": "webhook-uuid",
"event": "event_phone_call_started",
"attempt": 3,
"status": "failed",
"http_status": 500,
"error": "Internal Server Error",
"duration_ms": 8021,
"created_at": "2024-01-15T10:55:00Z"
}
],
"pagination": {
"current_page": 1,
"per_page": 50,
"total": 247,
"last_page": 5
}
}
List Webhook Delivery Logs
Retrieve a paginated list of delivery attempts for a specific webhook, including HTTP status, response body, attempt number, and timing. Use these logs to debug webhook delivery issues.Endpoint
GET /api/v1/agents/{agent_id}/webhooks/{webhook_id}/logs
Path parameters
string
required
Agent UUID.
string
required
Webhook UUID.
Query parameters
integer
Items per page. Range:
1–100. Default: 25.integer
Page number. Default:
1.Request headers
string
required
Bearer token. Format:
Bearer talq_your_environment_token_hereExamples
curl "https://app.talkover.ai/api/v1/agents/agent-uuid/webhooks/webhook-uuid/logs?per_page=50" \
-H "Authorization: Bearer talq_your_environment_token_here"
Response
{
"success": true,
"data": [
{
"id": "log-uuid-1",
"webhook_id": "webhook-uuid",
"event": "event_phone_call_ended",
"attempt": 1,
"status": "success",
"http_status": 200,
"request_payload": {"call_id": "call-uuid", "duration": 45},
"response_body": "{\"received\":true}",
"response_headers": {"content-type": "application/json"},
"duration_ms": 142,
"delivered_at": "2024-01-15T11:00:01Z",
"created_at": "2024-01-15T11:00:00Z"
},
{
"id": "log-uuid-2",
"webhook_id": "webhook-uuid",
"event": "event_phone_call_started",
"attempt": 3,
"status": "failed",
"http_status": 500,
"error": "Internal Server Error",
"duration_ms": 8021,
"created_at": "2024-01-15T10:55:00Z"
}
],
"pagination": {
"current_page": 1,
"per_page": 50,
"total": 247,
"last_page": 5
}
}
Log Status Values
pending— queued for deliverysuccess— delivered, target responded with 2xxfailed— delivered but target responded with non-2xx, or connection failedretrying— failed, will retry according tomax_retries
Notes
- Logs are retained for 30 days.
- Failed deliveries can be retried manually via Retry Webhook Log.
- Each retry attempt creates a new log entry with incremented
attempt.
Was this page helpful?