Create a new webhook to receive event notifications. Specify the callback URL, event types to subscribe to, and optional signing secret.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Webhook name (1-255 characters) |
url | string | Yes | HTTPS endpoint to receive events |
events | string[] | Yes | Event types to subscribe to |
contentType | string | No | Content type for webhook payload (default application/json) |
filters | object | No | Address filters with fromAddresses and toAddresses (0x-prefixed 40-hex-char arrays); empty arrays mean no filter |
isActive | boolean | No | Whether the webhook is active (default true) |
secret | string | No | Secret for HMAC signature verification; must be at least 32 characters or an empty string |
description | string | No | Human-readable description |
webhooks:create
Create a new webhook to receive event notifications. Specify the callback URL, event types to subscribe to, and optional signing secret.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Webhook name (1-255 characters) |
url | string | Yes | HTTPS endpoint to receive events |
events | string[] | Yes | Event types to subscribe to |
contentType | string | No | Content type for webhook payload (default application/json) |
filters | object | No | Address filters with fromAddresses and toAddresses (0x-prefixed 40-hex-char arrays); empty arrays mean no filter |
isActive | boolean | No | Whether the webhook is active (default true) |
secret | string | No | Secret for HMAC signature verification; must be at least 32 characters or an empty string |
description | string | No | Human-readable description |
webhooks:create