Create a webhook
Creates a webhook endpoint. Optional event_schemas may be supplied at creation time to customize data.object for supported event namespaces while preserving the normal webhook envelope.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Array of event types to subscribe to, or [”*”] for all events
Optional event schema overrides to create with the webhook. Event schemas customize only the delivered webhook payload’s data.object for supported event namespaces. The webhook envelope fields are unchanged. After the webhook is created, manage event schemas through /v1/webhooks/{webhook_id}/event_schemas.
OIDC client secret. Required when oidc_auth_method is ‘client_secret’. Write-only; never returned in responses.
Optional. OIDC resource URI (Microsoft-specific; use oidc_scope for standard OAuth 2.0).
Optional. OAuth 2.0 scope for the token request (e.g. “api://<app-id>/.default”).