sunny1952_36896
10/17/2025, 3:14 PMAI Evy
10/17/2025, 3:14 PMAI Evy
10/17/2025, 3:15 PMwebhook_timeout_ms parameter .
3. Test Your Endpoint
Test your webhook endpoint locally first. Here's an example test using curl [(3) ]() :
bash
curl --location 'localhost:8080/webhook' \
--header 'Content-Type: application/json' \
--data '{
"event": "call_ended",
"call": {
"call_type": "phone_call",
"from_number": "+12137771234",
"to_number": "+12137771235",
"direction": "inbound",
"call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
"agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
"call_status": "registered",
"metadata": {},
"retell_llm_dynamic_variables": {
"customer_name": "John Doe"
},
"start_timestamp": 1714608475945,
"end_timestamp": 1714608491736,
"disconnection_reason": "user_hangup",
"transcript": "...",
"opt_out_sensitive_data_storage": false
}
}'AI Evy
10/17/2025, 3:15 PMAI Evy
10/17/2025, 3:15 PMAI Evy
10/17/2025, 3:15 PMsunny1952_36896
10/17/2025, 3:35 PMAI Evy
10/17/2025, 3:35 PMAI Evy
10/17/2025, 3:35 PMcall_started - Triggered when a new call begins
- call_ended - Triggered when a call completes, transfers, or encounters an error
- call_analyzed - Triggered when call analysis is complete
**Important Note**: If the call did not connect (like dial failed) , the call_started webhook event will not be triggered .
Webhook Registration Options
You have two ways to register webhooks [(2) ]() :
- Account level webhook - Set up through system settings' webhooks tab for events related to any agent under your account
- Agent level webhook - Set up through the dashboard's agent detail page
**Key Point**: If you set an agent level webhook, account level webhooks will not be triggered for that agent .
Webhook Timeout Controls
Recent updates allow you to control webhook timeouts for both workspace-level and agent-level webhooks with a default of 5 seconds [(3) ]() . You can adjust this if your endpoint needs more time to process requests.
Webhook Response Requirements
Your endpoint must return a successful status code (2xx) [(1) ]() . The webhook will retry up to 3 times if no success status is received within the timeout period.
Sample Webhook Handler
Here's the exact Node.js example from the documentation [(2) ]() :AI Evy
10/17/2025, 3:35 PMjavascript
// install the sdk: <https://docs.retellai.com/get-started/sdk>
import { Retell } from "retell-sdk";
import express, { Request, Response } from "express";
const app = express() ;
app.use(express.json() ) ;
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() ;
}) ;
If you're still having issues, try making a test web call in the dashboard to verify the webhook triggers correctly .AI Evy
10/17/2025, 3:35 PMAI Evy
10/17/2025, 3:35 PMsunny1952_36896
10/17/2025, 3:40 PMAI Evy
10/17/2025, 3:40 PMAI Evy
10/17/2025, 3:40 PMwebhook_url parameter [(2) ]() [(3) ]() :
javascript
const agentResponse = await client.agent.create({
response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
voice_id: '11labs-Adrian',
webhook_url: "<https://webhook-url-here%22>
}) ;AI Evy
10/17/2025, 3:40 PMwebhook_timeout_ms parameter if Make.com needs more time to process the request.
Testing Steps
1. Ensure your Make.com webhook URL is complete with the scenario key
2. Test the Make.com webhook directly to verify it's accessible
3. Check if the webhook works with voice agents first to isolate the issue
4. Verify that Make.com is returning a 2xx HTTP status code [(1) ]()
Given the reported issue with chat agent webhooks , you might want to test with a voice agent first to confirm your Make.com integration is working properly.AI Evy
10/17/2025, 3:40 PMAI Evy
10/17/2025, 3:40 PM