Skip to main content
POST
TypeScript

Headers

Idempotency-Key
string

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Body

application/json
url
string
required

The url of the webhook where notifications will be sent. URL must be valid, unique and https.

Minimum string length: 1
Example:

"https://example.com/webhook"

events
enum<string>[]
required

event types the webhook will subscribe to

Available options:
transaction.created,
transaction.status.updated,
transaction.approval_status.updated,
transaction.network_records.processing_completed,
transaction.alert.stuck,
external_wallet.asset.added,
external_wallet.asset.removed,
internal_wallet.asset.added,
internal_wallet.asset.removed,
contract_wallet.asset.added,
contract_wallet.asset.removed,
vault_account.created,
vault_account.asset.added,
vault_account.asset.balance_updated,
vault_account.nft.balance_updated,
vault_account.bulk_create_job_started,
vault_account.bulk_create_job_ended,
vault_account.asset.bulk_add_job_started,
vault_account.asset.bulk_add_job_ended,
embedded_wallet.status.updated,
embedded_wallet.created,
embedded_wallet.asset.balance_updated,
embedded_wallet.asset.added,
embedded_wallet.account.created,
embedded_wallet.device.added,
onchain_data.updated,
connection.added,
connection.removed,
connection.request.waiting_peer_approval,
connection.request.rejected_by_peer,
exchange_account.connected,
fiat_account.connected,
connected_account.connected,
exchange_account.credentials_replaced,
connected_account.credentials_replaced,
ticket.created,
ticket.submitted,
ticket.expired,
ticket.canceled,
ticket.fulfilled,
ticket.counterparty.added,
ticket.counterparty_external_id.set,
ticket.note.added,
ticket.expires_at.set,
ticket.expires_in.set,
ticket.term.added,
ticket.term.updated,
ticket.term.deleted,
ticket.term.funded,
ticket.term.manually_funded,
ticket.term.funding_canceled,
ticket.term.funding_failed,
ticket.term.funding_completed,
ticket.term.transaction_status_changed,
settlement.created,
order.updated,
automation_execution.update
Example:
description
string

description of the webhook. should not contain special characters.

Minimum string length: 1
Example:

"This webhook is used for transactions notifications"

enabled
boolean
default:true

The status of the webhook. If false, the webhook will not receive notifications.

Example:

false

webhookMtlsId
string<uuid> | null

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).

Example:

"6f1b7c62-0f2e-4f1a-9a5e-9f2b1c3d4e5f"

webhookOauthId
string<uuid> | null

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).

Example:

"123e4567-e89b-12d3-a456-426614174000"

webhookCustomHeadersId
string<uuid> | null

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.

Example:

"6f1b7c62-0f2e-4f1a-9a5e-9f2b1c3d4e5f"

Response

created new webhook successfully

id
string<uuid>
required

The id of the webhook

Example:

"123e4567-e89b-12d3-a456-426614174000"

url
string
required

The url of the webhook where notifications will be sent. Must be a valid URL and https.

Minimum string length: 1
Example:

"https://example.com/webhook"

events
enum<string>[]
required

The events that the webhook will be subscribed to

Available options:
transaction.created,
transaction.status.updated,
transaction.approval_status.updated,
transaction.network_records.processing_completed,
transaction.alert.stuck,
external_wallet.asset.added,
external_wallet.asset.removed,
internal_wallet.asset.added,
internal_wallet.asset.removed,
contract_wallet.asset.added,
contract_wallet.asset.removed,
vault_account.created,
vault_account.asset.added,
vault_account.asset.balance_updated,
vault_account.nft.balance_updated,
vault_account.bulk_create_job_started,
vault_account.bulk_create_job_ended,
vault_account.asset.bulk_add_job_started,
vault_account.asset.bulk_add_job_ended,
embedded_wallet.status.updated,
embedded_wallet.created,
embedded_wallet.asset.balance_updated,
embedded_wallet.asset.added,
embedded_wallet.account.created,
embedded_wallet.device.added,
onchain_data.updated,
connection.added,
connection.removed,
connection.request.waiting_peer_approval,
connection.request.rejected_by_peer,
exchange_account.connected,
fiat_account.connected,
connected_account.connected,
exchange_account.credentials_replaced,
connected_account.credentials_replaced,
ticket.created,
ticket.submitted,
ticket.expired,
ticket.canceled,
ticket.fulfilled,
ticket.counterparty.added,
ticket.counterparty_external_id.set,
ticket.note.added,
ticket.expires_at.set,
ticket.expires_in.set,
ticket.term.added,
ticket.term.updated,
ticket.term.deleted,
ticket.term.funded,
ticket.term.manually_funded,
ticket.term.funding_canceled,
ticket.term.funding_failed,
ticket.term.funding_completed,
ticket.term.transaction_status_changed,
settlement.created,
order.updated,
automation_execution.update
Example:
status
enum<string>
required

The status of the webhook

Available options:
DISABLED,
ENABLED,
SUSPENDED
Example:

"ENABLED"

createdAt
integer<int64>
required

The date and time the webhook was created in milliseconds

Example:

1625126400000

updatedAt
integer<int64>
required

The date and time the webhook was last updated in milliseconds

Example:

1625126400000

description
string

description of the webhook of what it is used for

Minimum string length: 1
Example:

"This webhook is used for transactions notifications"

webhookMtlsId
string<uuid>

The id of the mTLS configuration this webhook presents when delivering, from /v1/webhooks_settings/mtls. Absent when the webhook does not use mTLS.

Example:

"6f1b7c62-0f2e-4f1a-9a5e-9f2b1c3d4e5f"

webhookOauthId
string<uuid>

The id of the OAuth credentials this webhook authenticates with. Absent when the webhook does not use OAuth. Read the credentials themselves from /v1/webhooks_settings/oauth/{webhookOauthId}.

Example:

"123e4567-e89b-12d3-a456-426614174000"

webhookCustomHeadersId
string<uuid>

The id of the set of custom headers sent with this webhook's notifications. Absent when the webhook sends none. Read the set itself from /v1/webhooks_settings/custom_headers/{webhookCustomHeadersId}.

Example:

"6f1b7c62-0f2e-4f1a-9a5e-9f2b1c3d4e5f"