Webhooks V2
Create a new webhook
Creates a new webhook, which will be triggered on the specified events
Endpoint Permissions: Owner, Admin, Non-Signing Admin.
post/webhooks
Request
- Base URLhttps://api.fireblocks.io/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring
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.
Request body
Example request
{
"url": "https://example.com/webhook",
"description": "This webhook is used for transactions notifications",
"events": [
"transaction.created",
"transaction.status.updated"
],
"webhookMtlsId": "6f1b7c62-0f2e-4f1a-9a5e-9f2b1c3d4e5f",
"webhookOauthId": "123e4567-e89b-12d3-a456-426614174000",
"customHeaders": {
"X-Gateway-Key": "abc123",
"X-Region-Tag": "eu",
"X-Forwarded-For": [
"203.0.113.7",
"198.51.100.4"
]
}
}Response
created new webhook successfully
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"url": "https://example.com/webhook",
"description": "This webhook is used for transactions notifications",
"events": [
"transaction.created",
"transaction.status.updated"
],
"status": "ENABLED",
"createdAt": 1625126400000,
"updatedAt": 1625126400000,
"webhookMtlsId": "6f1b7c62-0f2e-4f1a-9a5e-9f2b1c3d4e5f",
"webhookOauthId": "123e4567-e89b-12d3-a456-426614174000",
"customHeaders": [
"x-gateway-key",
"x-region-tag"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.