Webhook
The webhook URL is where Vaanii sends post-call events whenever a call on the campaign completes. Set it at campaign creation, or update it any time with `PATCH /api/v1/campaigns/{campaign_id}/webhook`.
Base URL: examples use <vaanii_api_base_url> in place of the Vaanii API address. Contact the Vaanii team at team@vaanii.ai to get it.
PATCH
/api/v1/campaigns/{campaign_id}/webhook| Field | Type | Description |
|---|---|---|
webhook_url | URL (string, ≤ 512 chars) | URL that receives post-call events. |
Example: "https://your-app.example.com/vaanii/call-completed"
It can also be updated directly via PATCH /api/v1/campaigns/{campaign_id}/webhook.