https://retellai.com/?utm_source=discord&utm_medium=seo logo
do you have phone number called from also data ava...
# ❓・ai-evy-support
a
@AI Evy do you have phone number called from also data available in call analyzed webhook setting or is it only in call ended?
a
Thanks for tagging me @akshat_9728. I'll look through relevant sources and get back to you shortly.
### Answer The
call_analyzed
webhook event includes phone number information (both
from_number
and
to_number
) [(1) ]() . The
call_analyzed
webhook is triggered when call analysis is complete and includes full call data including the
call_analysis
object [(2) ]() . According to the webhook documentation, the
call_ended
event contains all fields from the call object except
call_analysis
, while the
call_analyzed
event contains the full call data including the
call_analysis
object . However, there's an important consideration: if you have "opt out sensitive data" enabled, you may not receive the
from_number
in the
call_analyzed
webhook [(1) ]() . In this case, you would receive the phone number information in the inbound webhook, and you can set the
from_number
as a dynamic variable to receive it in the
call_analyzed
webhook .
​ To learn more, see the sources I considered: [[1] Discord message from @omar.13. on 2025-06-17](https://discord.com/channels/1186424376300679209/1186462578310910112/1384616185428971590) [[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.
a
Can you name the data what it looks like in this format {{1.call.call_analysis.custom_analysis_data.
_phone number
}}
@AI Evy Can you name the data what it looks like in this format {{1.call.call_analysis.custom_analysis_data.
_phone number
}}
a
Thanks for the follow-up, @akshat_9728. I'll get back to you soon.
### Answer Based on the API documentation, the phone number data in the
call_analyzed
webhook would be accessed as
from_number
and
to_number
at the root level of the call object [(1) ]() [(2) ]() . The format would be: - `from_number`:
"+12137771234"
[(1) ]() - `to_number`:
"+12137771235"
The
custom_analysis_data
object within
call_analysis
is for custom post-call analysis data that you define, not for standard call metadata like phone numbers [(1) ]() [(2) ]() . The phone numbers are part of the main call object structure. If you're trying to access phone numbers in a webhook payload, you would use: -
{{call.from_number}}
-
{{call.to_number}}
Rather than looking in the
custom_analysis_data
object, which is specifically for custom analysis fields you configure in your agent's post-call analysis settings [(3) ]() .
​ To learn more, see the sources I considered: [[1] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[2] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[3] Unlock Insights with Post-Call Analysis | Retell AI](https://www.retellai.com/features/post-call-analysis) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.