create_lead_sync_subscription
Set up lead delivery by creating a subscription that POSTs new leads to your webhook URL with HMAC-signed Standard Webhooks payloads.
Instructions
Provision lead delivery to a managed webhook endpoint for an ad account. Requires Idempotency-Key and destination URL. Leads will be POSTed with Standard Webhooks HMAC signature.
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": {
"idempotency_key": "<idempotency_key>",
"url": "<url>"
},
"name": "create_lead_sync_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Webhook destination https URL. | |
| ad_account_id | No | ||
| ad_account_ids | No | Ad account IDs to subscribe (often just one). | |
| idempotency_key | Yes | Required idempotency key. |