CustomDomain Docs
API referenceAPI referenceWebhooks

Resume a paused webhook endpoint

Resume a paused webhook endpoint: CustomDomain™ API reference in the webhooks group. Covers request parameters, the request body, responses and error codes.

POST
/webhooks/{id}/resume

Resumes a webhook endpoint that was paused, and sends the events that waited. An endpoint that is not paused is left as it is. An id that is not the caller's answers 404. A delegated agent token needs app:write.

Authorization

AuthorizationBearer <token>

Short-lived widget JWT minted server-side via POST /v1/tokens. Scoped to one application (and optionally one domain).

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/webhooks/string/resume"
{  "id": "string",  "application_id": "string",  "url": "http://example.com",  "events": [    "string"  ],  "secret": "string",  "previous_secret_expires_at": "2019-08-24T14:15:22Z",  "paused_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"  }}