https://retellai.com/?utm_source=discord&utm_medium=seo logo
how I can manage webhook events
# ❓・ai-evy-support
a
Thanks for tagging me @jack_pieceofclean_36613. I'll look through relevant sources and get back to you shortly.
### Answer Retell AI supports three webhook event types:
call_started
,
call_ended
, and
call_analyzed
. [(1) ]() | Event Type | Description | |------------|-------------| |
call_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 | Key points about webhook management: - The webhook will
POST
the payload to your endpoint with a 10-second timeout. - If no success status (2xx) is received within 10 seconds, the webhook retries up to 3 times. - Webhooks trigger in order but are not blocking—if
call_started
fails,
call_ended
can still trigger. Current limitation: You cannot selectively subscribe to specific events—every call sends all its events. [(2) ]() To secure your webhook, use the
x-retell-signature
header with your Retell API Key to verify requests come from Retell AI. [(3) ]()
Copy code
javascript
if (
  !Retell.verify(
    JSON.stringify(req.body) ,
    process.env.RETELL_API_KEY,
    req.headers["x-retell-signature"] as string,
  )
) {
  console.error("Invalid signature") ;
  return;
}
You can also allowlist Retell's IP address:
100.20.5.228
.
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] I dont find webhook event types](https://discord.com/channels/1186424376300679209/1389155036398882828) [[3] Secure the webhook](https://docs.retellai.com/features/secure-webhook) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
I just wantto get endcall actions
@AI Evy I just wantto get endcall actions in webhook
a
Thanks for the follow-up, @jack_pieceofclean_36613. I'll get back to you soon.
### Answer Currently, there is no way to configure Retell AI to only receive specific webhook events like
call_ended
. [(1) ]() All three events (
call_started
,
call_ended
,
call_analyzed
) are sent for every call—you cannot selectively subscribe to just one event type at this time. Workaround: On your server side, you can filter incoming webhooks by checking the
event
field in the payload and only processing
call_ended
events:
Copy code
json
{
  "event": "call_ended",
  "call": { ... }
}
[(2) ]() Simply ignore or return early for
call_started
and
call_analyzed
events in your webhook handler logic. A feature request has been submitted to allow selective webhook event subscriptions. [(1) ]()
​ To learn more, see the sources I considered: [[1] 🚀 Question about Retell Webhooks](https://discord.com/channels/1186424376300679209/1414832550576128082) [[2] Webhook Overview](https://docs.retellai.com/features/webhook-overview) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.