API referenceWebhooks

Get a webhook subscription

GET
/webhooks/{id}

Returns one webhook subscription.

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

Subscription ID

Response Body

application/json

application/json

curl -X GET "https://example.com/webhooks/whs_abc123"
{  "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"}