https://retellai.com/?utm_source=discord&utm_medium=seo logo
How can I send the post call to my webhook
# ❓・ai-evy-support
p
@AI Evy How can I send the post call to my webhook? rn all I see from the voice buildder is: post call analysis, but I'd like this analysis to be done on my platform and when I go to webhook setting it send the info at the begginign of the call instead of the end
a
Thanks for tagging me @Peak Thrive. I'll look through relevant sources and get back to you shortly.
### Answer --- To receive post call analysis data via webhook, you need to subscribe to the
call_analysis
event type. [(1) ]() When a call analysis is complete, Retell AI sends a webhook with
event_type: "call_analysis"
that includes the analysis results in the payload:
Copy code
json
{
 "event_type": "call_analysis",
 "call_analysis": {
 // Analysis results object
 }
}
The key point is that there are multiple webhook events for each call. The post call analysis data is specifically sent in the
call_analyzed
event, which occurs after the call ends—not at the beginning. [(2) ]() To set up your webhook properly: 1. Configure your webhook URL in the [Webhook Configuration]() section [(1) ]() 2. Make sure your webhook endpoint is listening for the
call_analyzed
event specifically [(2) ]() 3. Filter your webhook processing to only handle the
call_analyzed
event, as there are typically 3 different webhook events per call The analysis results object will contain fields like
call_summary
,
user_sentiment
,
call_successful
, and
custom_analysis_data
. [(3) ]() [(4) ]() [(5) ]() If you're seeing webhook data at the beginning of the call instead of the end, you're likely receiving the
call_started
event rather than the
call_analyzed
event. Make sure your webhook handler is specifically looking for and processing the
call_analyzed
event type. [(2) ]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.