Register a new webhook endpoint
POST/webhooks
Registers an HTTP endpoint on the reseller's own server, subscribing it to the selected events. The secret plain HMAC secret returned in the response is shown ONLY once.
The target URL is strict: only https, user info (user:pass@) forbidden, private/internal IPs rejected (SSRF protection).
Request
Responses
- 201
- 401
- 409
- 422
- 429
Endpoint created (secret returned once)
Authentication failed — missing header, wrong credential, outside the IP whitelist, or a revoked key. No detail is leaked; all cases return a single message.
Response Headers
RFC 7617 Basic Auth challenge
Active webhook limit exceeded (webhook_limit_exceeded)
Validation error (invalid URL / unknown event)
Per-minute limit exceeded
Response Headers
Seconds to wait before retrying after a 429 (RFC 7231 §7.1.3)
The per-minute limit defined for this key
Unix epoch of the start of the next window (UTC seconds)