API referenceConnections

List a connection's events

GET
/connections/{id}/events

Lists the latest 50 requests to the connection's URL that carried a call's turns or its end, newest first: each one's type, the vendor's call ID, its conversation and why it was refused. Never the transcript. Kept as long as Sparkle's inbound webhook log.

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/events"
{  "items": [    {      "conversation_id": "string",      "error_code": "plan_limit",      "event_type": "string",      "external_ref": "string",      "id": "iwe_2jxsy8cc8v0348asy6t1",      "received_at": "2019-08-24T14:15:22Z"    }  ]}