Create or change an outgoing webhook
dosai_save_webhook_integrationSend the project's events to the owner's own program, Zapier or Make: create (name, url, events) or change one by integration_id (only what you pass changes). The address must be https. Events: lead_created, conversation_started, message_received, payment_received, ai_error, whatsapp_disconnected, instagram_disconnected, schedule_problem, tokens_low, trial_expiring, message_inbound, message_edited, message_deleted. Up to 20 per project. A new or changed address takes two steps: the owner confirms where clients' data will go. Check it with dosai_test_integration. Requires editor role.
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": {
"project_id": "<project_id>"
},
"name": "dosai_save_webhook_integration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | No | ||
| type | No | ||
| events | No | ||
| headers | No | Extra request headers, e.g. a secret the receiver checks. | |
| is_active | No | ||
| project_id | Yes | From dosai_list_projects. | |
| confirm_token | No | Leave empty on the first call: it changes nothing and returns what will happen and a code. Ask the owner; only after their explicit "yes" call again with the same arguments and this code. | |
| integration_id | No | Omit to create a new one. |