Creates a REST-hook subscription bound to the calling API key. Must be called with an API
key rather than a user token, since the subscription is owned by the key. Returns the
subscription id and a secret, shown only once at creation. The secret is reserved for
future payload signing and is not used to sign deliveries today.
A subscription created here behaves differently from a webhook configured in the
Developers UI in one important way: if the endpoint answers 410 Gone, the subscription
is deleted automatically rather than disabled, on the assumption the integration
removed it deliberately.
Failed deliveries are retried with backoff. After five consecutive deliveries exhaust
their retries the subscription is disabled and no further events are sent to it.
Requires an API license and permission to manage the API.
Required permission: API
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
401Authentication is required, or the Ocs-Api-Key header is missing or invalid.
