Create Webhook
Authentication: Bearer token required.
Endpoint: POST /api/v1/webhooks
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| wallet_id | string | Yes | Wallet UUID |
| network_id | string | Yes | Network UUID |
| host | string | Yes | max 2048 |
| success_path | string | Yes | max 512 |
| error_path | string | Yes | max 512 |
| auth_type | string | Yes | basic or token |
| auth_basic_username | string | No | For auth_type=basic |
| auth_basic_password | string | No | For auth_type=basic |
| auth_token | string | No | For auth_type=token |
Response — 201 Created
| Status | Description |
|---|---|
| 403 | No access to wallet's node |
| 404 | Wallet or network not found |
| 409 | Conflict |