ankitkr4479
11/03/2025, 1:49 PMAI Evy
11/03/2025, 1:50 PMAI Evy
11/03/2025, 1:50 PMwebhook_url field
- **Account-level**: Set in your dashboard
If you've set a webhook at the agent level, it will override the account-level webhook for that specific agent .
2. Webhook Timeout Requirements
The webhook has a timeout of 10 seconds [(2) ]() . Your endpoint must respond with a success status (2xx) within 10 seconds, or the webhook will be retried up to 3 times . Ensure your endpoint responds quickly.
3. Event Trigger Conditions
Not all calls trigger all webhook events :
- call_started is not triggered if the call did not connect (e.g., dial_failed, dial_no_answer, dial_busy)
- call_ended and call_analyzed will still trigger even for failed connections
4. Verify Your Webhook Setup
Your webhook endpoint should accept POST requests with JSON payloads [(3) ]() . Here's the expected structure:
javascript
app.post("/webhook", (req: Request, res: Response) => {
const {event, call} = req.body;
switch (event) {
case "call_started":
console.log("Call started event received", call.call_id) ;
break;
case "call_ended":
console.log("Call ended event received", call.call_id) ;
break;
case "call_analyzed":
console.log("Call analyzed event received", call.call_id) ;
break;
default:
console.log("Received an unknown event:", event) ;
}
// Acknowledge the receipt of the event
res.status(204) .send() ;
}) ;AI Evy
11/03/2025, 1:50 PMcall_started)
5. Review your server logs to see if requests are arriving but failing
If you've verified all these points and still aren't receiving data, the support team should be able to check the webhook delivery logs for your specific agent.AI Evy
11/03/2025, 1:50 PMAI Evy
11/03/2025, 1:50 PMAI Evy
11/03/2025, 1:51 PM