API referenceConnections
List a webhook connection's payloads
Lists what a webhook connection kept of the requests to its URL in the last 24 hours, up to the latest 50, newest first: each one's format, call ID, turns, conversation and why it was refused, with the first 2 KB of its body. A request whose signature failed is never kept.
Authorization
apiKey X-API-Key<token>
API key (prefix spk_test_ or spk_live_) or personal access token (prefix pat_)
In: header
Path Parameters
id*string
Connection ID
Response Body
application/json
application/json
curl -X GET "https://example.com/connections/con_2jxsy8cc8v0348asy6t1/payloads"{ "items": [ { "call_id": "string", "connection_id": "string", "content_type": "string", "conversation_id": "string", "ended": true, "error_code": "plan_limit", "format": "sparkle", "id": "iwe_2jxsy8cc8v0348asy6t1", "preview": "string", "received_at": "2019-08-24T14:15:22Z", "size_bytes": 0, "truncated": true, "turns": 0 } ]}