Webhooks V2
Update webhook
Update a webhook by its id
Endpoint Permission: Owner, Admin, Non-Signing Admin.
patch/webhooks/{webhookId}
Request
- Base URLhttps://api.fireblocks.io/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
webhookIdstring uuid required
Example:44fcead0-7053-4831-a53a-df7fb90d440f
The unique identifier of the webhook
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-Forwarded-For": [
"203.0.113.7",
"198.51.100.4"
],
"X-Region-Tag": null
}
}Response
Updated webhook object
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.