create_webhook
Subscribe a URL to one or more event types. The response includes a generated signing secret used to verify the X-Signature (HMAC-SHA256) header on every delivery. IMPORTANT: the secret is returned ONLY ONCE, here, at creation, list_webhooks never returns it again, so capture and store it now; if it's lost you must rotate it (update_webhook) or recreate the webhook. SCOPE: requires a WRITE-scoped API key (a read-only key returns 403). The url must be HTTPS and a publicly resolvable host, private, loopback, link-local, and internal addresses are rejected.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"events": "<events>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Receiver endpoint. Must be HTTPS and a publicly resolvable host (private/loopback/internal addresses are rejected). | |
| events | Yes | Event types to subscribe to (lead.replied, lead.bounced, connection.accepted, campaign.idle, lead.step_completed). Empty means all events. | |
| description | No | Optional note on what this webhook is for. | |
| idempotency_key | No | Optional UUID for safe retries: send the same key when repeating a request so it is applied once. |