Register a webhook endpoint
Create a webhook endpoint and receive its signing secret. The secret is returned exactly once in this response — store it immediately; it cannot be retrieved later.
Authentication: Supports API key and bearer token authentication.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
A unique key (up to 255 printable ASCII characters, e.g. a UUID) that makes a retry of this request safe. Envoy stores the response for 24 hours; a retry with the same key and the same request returns it again with Idempotent-Replayed: true instead of running twice. The same key with a different request returns 422 idempotency_key_reused; while the first request is still running, 409 idempotency_key_in_progress. 5xx and 429 responses are not stored.
Request
Allowlist of event type names (e.g. [‘elp_test.scored’]). Must contain at least one entry.
Response
Endpoint lifecycle state.
DISABLED is reserved for automatic disable by the auto-disable job;
PAUSED is explicitly paused and indicates intent to resume.
whsec_<base64> — store this; it is not retrievable later.

