API referenceWebhooks

List webhook subscriptions

GET
/webhooks

Lists the organization's webhook subscriptions with cursor pagination.

Authorization

apiKey
X-API-Key<token>

API key (prefix spk_test_ or spk_live_) or personal access token (prefix pat_)

In: header

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/webhooks"
{  "items": [    {      "conversation_id": "string",      "created_at": "2019-08-24T14:15:22Z",      "created_by": "string",      "environment": "test",      "events": [        "*"      ],      "failing_since": "2019-08-24T14:15:22Z",      "id": "whs_abc123",      "is_active": true,      "metadata": {        "property1": null,        "property2": null      },      "organization_id": "string",      "paused_at": "2019-08-24T14:15:22Z",      "tenant_id": "string",      "updated_at": "2019-08-24T14:15:22Z",      "url": "string"    }  ],  "page_info": {    "end_cursor": "string",    "has_next_page": true,    "has_previous_page": true,    "start_cursor": "string",    "total": 0  }}