CustomDomain Docs
Webhooks

List webhook endpoints

List webhook endpoints: reference page for this CustomDomain™ API operation in the webhooks group. Covers parameters, request body, responses and error codes.

GET
/webhooks

With an API key: endpoints across all the tenant's live apps (a test mode application's endpoints are left out unless ?app_id= names it). With a test mode API key: that application's endpoints. With a widget JWT: the calling app's endpoints. Secrets are omitted.

AuthorizationBearer <token>

Long-lived tenant API key, cd_live_… (production) or cd_test_… (staging, development), stored hashed. Keys created before the switch to cd_ start with sk_live_… / sk_test_… and are still accepted. Scoped to the owning application's tenant.

In: header

Query Parameters

app_id?string

Narrow to one application, which is how a live key reaches a test mode application's endpoints.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/webhooks"
{  "webhooks": [    {      "id": "string",      "application_id": "string",      "url": "http://example.com",      "events": [        "string"      ],      "secret": "string",      "created_at": "2019-08-24T14:15:22Z"    }  ]}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}