Register an HTTPS endpoint and obtain the signing secret and DNS proof

POST
/v1/check-webhook

Requires the webhooks:manage scope.

Authorization

bearerAuth
AuthorizationBearer <token>

Create a key under Account → API. Send it as Authorization: Bearer st_live_…. Keys carry scopes: checks:write (create, cancel, delete; add, change and delete source rules), checks:read (list, get; list source rules) and usage:read (credit position).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/check-webhook" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "url": "http://example.com",  "secret": "string",  "dns": {    "name": "string",    "value": "string"  }}