Create Webhook

Create a webhook. The success response returns its ID and secret_token once, with Cache-Control: no-store. Existing webhooks cannot retrieve their secret through the API. On application disconnect, Hostex deletes only webhooks created by that application for that account and sends a final authorization_revoked notification to their saved endpoints, even if their events filter excludes it. Manual webhooks and other applications are unaffected. See the Webhook Usage Guide for delivery limits. Every v3 event payload includes a string ULID event_id shared across all URLs and retries for the same event; use it to deduplicate notifications. OAuth applications have a separate quota per application and account, defaulting to 50 webhooks; Hostex can adjust the limit per account. Manual, self-service-token and legacy webhooks share the account-owned quota: creation is limited to 3 through the web portal or 5 through v3 with a self-service access token. Lowering a quota does not stop delivery to existing webhooks. By default, a 410 Gone response to a business event deletes an application-created webhook; recreate it to resume delivery. Manual and legacy webhooks are retained, and 404 does not trigger deletion.

Body Params
string
required

The webhook endpoint URL.

events
array of strings

The list of event types to subscribe to. Defaults to all events if omitted.

events
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json