CustomDomain Docs
API referenceAPI referenceWebhooks

One webhook delivery attempt, with the other attempts for its event

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

GET
/webhook-deliveries/{id}

The attempt, and in history every attempt to send the same event to the same endpoint, oldest first (this one included). An id that is not the caller's answers 404. A delegated agent token needs app:read.

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

Path Parameters

id*string

Query Parameters

app_id?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/webhook-deliveries/string"
{  "id": "string",  "endpoint_id": "string",  "application_id": "string",  "url": "http://example.com",  "event_id": "string",  "event_type": "string",  "domain": "string",  "attempts": 0,  "status_code": 0,  "delivered": true,  "error": "string",  "next_attempt_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "history": [    {      "id": "string",      "endpoint_id": "string",      "application_id": "string",      "url": "http://example.com",      "event_id": "string",      "event_type": "string",      "domain": "string",      "attempts": 0,      "status_code": 0,      "delivered": true,      "error": "string",      "next_attempt_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z"    }  ]}
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "request_id": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "request_id": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "request_id": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "request_id": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}