Create a webhook
Registers a new HTTPS endpoint to receive event deliveries. OMS generates
a signing secret (whsec_ prefix) that is returned once in this
response and never again - store it in your secrets manager immediately.
The endpoint starts receiving deliveries immediately after creation.
Authorizations
Token from POST /auth/token
Headers
Required on POST and PUT requests. Use a unique value per logical mutation attempt, for example a UUID.
Body
Response
The request has succeeded and a new resource has been created as a result.
When true, this endpoint receives compliance-only events (e.g. underReview) that are excluded from all regular partner webhooks (AML no-tipping-off). Can only be set via the admin API.
ISO 8601 UTC timestamp of when the webhook was registered.
Whether OMS is actively delivering events to this endpoint. Set to false
to pause deliveries without deleting the endpoint. OMS also sets this to
false automatically if the endpoint returns 410 Gone.
Event types this endpoint subscribes to. An empty array means the endpoint receives all event types (wildcard). See the event catalog in the webhook delivery documentation for the full list of valid values.
Unique webhook identifier. Uses the whk_ prefix.
Resource type discriminator. Always "webhook".
webhook Signing secret used to verify the Webhook-Signature header on incoming
deliveries. Uses the whsec_ prefix (32 cryptographically random bytes,
hex-encoded). Returned only on creation - it cannot be retrieved
afterward. Store it in your secrets manager immediately.
active, disabled HTTPS endpoint that OMS delivers event payloads to.