Creates a new webhook endpoint for the authenticated organization.
The secret field in the response is the per-endpoint signing
secret (whsec_*) used to verify X-Verifa-Signature HMAC headers
on deliveries to this URL. Each endpoint has its own independent
secret — this is not the legacy organization-level webhook secret.
It is returned only in this response (and on
POST /webhooks/endpoints/{endpoint_id}/rotate-secret); Verifa does
not store the plaintext, so capture and store it securely.
Organization API key. Keys are prefixed with vk_live_ (production) or
vk_sandbox_ (sandbox).
API version date string (e.g. 2026-02-01). If omitted, the version
pinned to your API key is used.
Human-readable label for this endpoint.
Webhook endpoint created. The secret field is only returned here.
Per-endpoint HMAC-SHA256 signing secret. Used to verify the
X-Verifa-Signature header on outbound webhook deliveries
(HMAC over f"{t}.{raw_body}"). Always begins with whsec_.
Only returned at endpoint creation and secret rotation —
Verifa does not store the plaintext secret after this
response, so capture and store it securely.
Event types to subscribe to. Omit or pass ["*"] to receive all events.
Available types include session.approved, session.declined,
session.resubmission-required, identity.created, identity.updated,
identity.archived, identity.restored, identity.tag-added,
identity.tag-removed.