https://retellai.com/?utm_source=discord&utm_medium=seo logo
this is what I've been getting through the webhook...
# ❓・ai-evy-support
e
@AI Evy this is what I've been getting through the webhook since tuesday. No transcript at all, just something labelled access_token. What am I doing wrong https://cdn.discordapp.com/attachments/1302816169367044149/1410623090760749179/Screenshot_2025-08-28_at_14.51.30.png?ex=68b1b0a0&is=68b05f20&hm=bc824b8684f60f3d7815f1ed15082cbd10afcf3712582b402bfa7fbbea9a5bba&
a
Thanks for tagging me @esther_12813. I'll look through relevant sources and get back to you shortly.
### Answer Based on the webhook documentation, there are specific event types that contain transcript data [(1) ]() . The
access_token
field appears in web call responses but transcript data comes through different webhook events . Here's what you should check: Webhook Event Types : -
call_started
- Contains basic call information (no transcript) -
call_ended
- Contains all call object fields except
call_analysis
(includes transcript) -
call_analyzed
- Contains full call data including transcript and
call_analysis
object The transcript data is included in the
call_ended
and
call_analyzed
webhook events, not
call_started
. **Privacy Settings Impact**: If you have
opt_out_sensitive_data_storage
enabled, transcript storage may be affected [(2) ]() . However, according to a Discord discussion, transcripts should still be available through webhooks even with privacy settings enabled [(3) ]() . **Check These Settings**: 1. Verify you're listening for
call_ended
or
call_analyzed
webhook events [(1) ]() 2. Confirm your agent doesn't have
opt_out_sensitive_data_storage
set to true [(2) ]() 3. Ensure your webhook endpoint is properly configured to receive all event types [(1) ]() The webhook will contain the event type and the call object, with transcript data available in the appropriate events .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] Get Agent](https://docs.retellai.com/api-references/get-agent) [[3] Issue with privacy: I need the transcript once - but it should not be recorded](https://discord.com/channels/1186424376300679209/1221055080870973522) ​
@AI Evy any help here
a
Thanks for the follow-up, @esther_12813. I'll get back to you soon.
### Answer Based on the webhook documentation, if you're seeing an
access_token
field, this indicates you're receiving webhook events for web calls rather than phone calls [(1) ]() . The
access_token
field is specific to web call responses [(2) ]() [(3) ]() . For transcript data, you need to ensure you're listening for the correct webhook events [(1) ]() : -
call_ended
- Contains all fields from the call object except
call_analysis
, including the transcript -
call_analyzed
- Contains full call data including transcript and
call_analysis
object The webhook payload structure includes the transcript in these events :
Copy code
json
{
 "event": "call_ended",
 "call": {
   "transcript": "Agent: hi how are you doing?\nUser: Doing pretty well. How are you?...",
   "transcript_object": [...],
   "transcript_with_tool_calls": [...]
 }
}
If you have
opt_out_sensitive_data_storage
enabled, you can still access transcript data through webhooks [(4) ]() . Enable webhook subscriptions for
call_ended
or
call_analyzed
and parse the webhook payload to extract the transcript . Check that: 1. Your webhook is configured to receive
call_ended
or
call_analyzed
events [(1) ]() 2. You're making phone calls, not web calls (which would explain the
access_token
field) 3. Your webhook endpoint returns a successful status code (2xx) within 10 seconds
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[3] Get Call](https://docs.retellai.com/api-references/get-call) [[4] accessing call logs and from_number](https://discord.com/channels/1186424376300679209/1361465621056983222) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
e
@AI Evy I have zero knowledge in cosing, so your instructions aren't clear enough for a novice, can you please break down the solution? Just tell me what to do
a
Thanks for the follow-up, @esther_12813. I'll get back to you soon.
### Answer ### Simple Steps to Fix Your Webhook Issue Based on the webhook documentation, here's what to do step by step [(1) ]() : Step 1: Check Your Webhook Settings - Go to your Retell AI dashboard - Find the "Webhooks" tab - Make sure your webhook is set to receive these events : -
call_ended
(this contains your transcript) -
call_analyzed
(this also contains your transcript) Step 2: Verify Your Webhook URL - Your webhook endpoint must return a successful status code (2xx) within 10 seconds - If it doesn't respond properly, Retell will retry up to 3 times Step 3: What You Should Receive When a call ends, your webhook should receive data like this :
Copy code
json
{
  "event": "call_ended",
  "call": {
    "call_type": "phone_call",
    "from_number": "+12137771234",
    "to_number": "+12137771235",
    "call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
    "transcript": "Agent: hi how are you doing?\nUser: Doing pretty well. How are you?...",
    "disconnection_reason": "user_hangup"
  }
}
Step 4: Contact Your Developer Since you mentioned you don't code, you'll need someone technical to: 1. Check if your webhook endpoint is working properly 2. Verify it's listening for
call_ended
events (not just
call_started
) 3. Make sure it returns a 2xx status code quickly The transcript data is available in both
call_ended
and
call_analyzed
webhook events . The
access_token
you're seeing suggests you might be getting web call data instead of phone call data.
​ To learn more, see the sources I considered: [[1] 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.
2 Views