API referenceConversations

List webhook deliveries

GET
/conversations/{id}/deliveries

Lists the webhook deliveries of the conversation's events, newest first, with cursor pagination: to the organization's subscriptions and to its own webhook, each named by its subscription and the host of its URL.

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

Conversation ID

Query Parameters

cursor?string

Opaque pagination cursor, from the previous response's page_info.end_cursor.

limit?integer

Items per page, up to 100; more is 100. Absent, or less than 1, is 10.

Formatint64

Response Body

application/json

application/json

curl -X GET "https://example.com/conversations/cnv_2jxsy8cc8v0348asy6t1/deliveries"
{  "items": [    {      "attempt_count": 0,      "completed_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "duration_ms": 0,      "event_type": "moment.detected",      "http_status": 0,      "id": "whd_abc123",      "next_retry_at": "2019-08-24T14:15:22Z",      "payload": {        "property1": null,        "property2": null      },      "replay_of": "whd_abc123",      "response_body": "string",      "status": "pending",      "subscription_id": "string",      "url_host": "hooks.example.com"    }  ],  "page_info": {    "end_cursor": "string",    "has_next_page": true,    "has_previous_page": true,    "start_cursor": "string",    "total": 0  }}