Register a webhook endpoint
Registers a delivery endpoint and returns a secret that is shown only once — it signs every notification, so store it immediately. Lost it? Rotate to get a new one.
There may be at most two endpoints: one primary and one backup. If no role is given, the first free one is assigned. A third endpoint is rejected with 4090, a taken role with 4091.
URL requirements, validated on creation and on every edit: https only; the host must resolve to a public address — loopback, private RFC1918 ranges, link-local including 169.254.169.254 and other non-routable ranges are rejected; credentials in the URL are not allowed; length up to 2048 characters.
Authorizations
API key from the dashboard. Some Host Mode endpoints also accept the key as an api_key field in the request body — this is stated in the schema of the particular operation.
Parameters
Header Parameters
An IP address from the key's whitelist. A request from an address outside the whitelist is rejected with 401.
"203.0.113.10""ipv4"Request Body
Responses
The endpoint was created. The secret in the response is shown only this once.