Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 2.3 KB

CreateWebhookRequest.md

File metadata and controls

19 lines (11 loc) · 2.3 KB

CreateWebhookRequest

Properties

Name Type Description Notes
url String The url of the webhook where notifications will be sent. URL must be valid, unique and https.
description String description of the webhook. should not contain special characters. [optional]
events List<WebhookEvent> event types the webhook will subscribe to
enabled Boolean The status of the webhook. If false, the webhook will not receive notifications. [optional]
webhookMtlsId UUID The id of the mTLS configuration this webhook presents when delivering, from `/v1/webhooks_settings/mtls`. Several webhooks may share one configuration, so replacing its certificate covers all of them at once. Send `null` to stop using mTLS for this webhook. Requires advanced webhook controls to be enabled for the workspace (`403` otherwise). [optional]
webhookOauthId UUID The id of the OAuth credentials this webhook authenticates with, from `/v1/webhooks_settings/oauth`. Several webhooks may share one credential set, so rotating its client secret covers all of them at once. Send `null` to stop using OAuth for this webhook. When the webhook has OAuth credentials, Fireblocks sends its own `Authorization` header (the bearer token), and a custom `Authorization` header from the attached set is not sent. Requires advanced webhook controls to be enabled for the workspace (`403` otherwise). [optional]
webhookCustomHeadersId UUID The id of the set of custom HTTP headers sent with this webhook's notifications, from `/v1/webhooks_settings/custom_headers`. Several webhooks, and OAuth credentials, may share one set, so changing it covers all of them at once. Validated when the set is created or changed; attaching checks only that it exists in your workspace. Replaces the inline `customHeaders` field, which is now refused with a `400`, so use `webhookCustomHeadersId`. Requires advanced webhook controls to be enabled for the workspace (`403` otherwise). An unknown id, or one belonging to another workspace, is a `404`. [optional]