Register a webhook endpoint
Registers an HTTPS endpoint to receive signed event notifications for the subscribed enabled_events. The signing secret (ozav_whsec_) is returned exactly once, in this response - store it securely; it is used to verify delivery signatures and cannot be retrieved again.
The hostname is checked at registration. A host that does not resolve is refused with 422 WEBHOOK_URL_HOST_NOT_FOUND, because a typo there fails silently forever: deliveries never reach anything and the only trace is a null response_status in GET /webhook-endpoints/{id}/deliveries. Only a non-existent hostname is refused - an endpoint behind a firewall, not yet deployed, or slow to answer registers normally.
Request
- Base URLhttps://developers.ozav.io/v2
- Auth
- API key in header X-API-Key
- or HTTP bearer
Request body
Response
Endpoint registered; the signing secret is in secret (shown once).
Changes
No recorded changes to this operation across all 1 revision of this API.