Create a webhook

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
urlstringRequired
Webhook endpoint URL
enabled_eventslist of stringsRequired

Array of event types to subscribe to, or [”*”] for all events

secretstringOptional
Secret for webhook signature verification
includestringOptional

Comma-delimited list of associations to include in webhook payloads. Omit or set to ”*” for all. Use “identifiers” to receive only top-level scalar fields (id, external_id, name, status, etc.) with no associations.

oidc_client_idstringOptional
OIDC client ID
oidc_token_endpointstringOptional
OIDC token endpoint URL
oidc_resource_uristringOptional
OIDC resource URI
oidc_access_token_ttl_secondsintegerOptional
OIDC access token TTL in seconds

Response

webhook created with wildcard events

Errors

422
Post V1webhooks Request Unprocessable Entity Error