jeff_47276
08/06/2025, 3:54 PMAI Evy
08/06/2025, 3:54 PMAI Evy
08/06/2025, 3:54 PMAuthorization: Bearer YOUR_API_KEY
API keys are used to authenticate your requests to REST API endpoints, SDK integrations, and webhook endpoints . Each workspace can have multiple API keys, all sharing the same permission level .
You can try out authentication in the API Playground to see it in action .
Keep your API keys secure and never share them in public repositories or client-side code .AI Evy
08/06/2025, 3:54 PMAI Evy
08/06/2025, 3:54 PMjeff_47276
08/06/2025, 3:55 PMjeff_47276
08/06/2025, 3:56 PMjeff_47276
08/06/2025, 3:58 PMjeff_47276
08/06/2025, 3:58 PMAI Evy
08/06/2025, 3:58 PMAI Evy
08/06/2025, 3:59 PMcall_ended event is triggered when a call completes and includes all fields from the call object . You can also use the call_analyzed event which is triggered when call analysis is complete and includes the full call data with analysis .
## Post-Call Analysis for Status Detection
Retell AI's post-call analysis can detect specific outcomes and trigger automated responses [(2) ]() . You can set up Boolean flags to detect appointment booking status:
- Boolean 'appointment_booked' → Update Google Sheets status to "Booked"
- Boolean 'no_answer' → Update status to "Still Left to Call"
- Boolean 'appointment_declined' → Update status to "Didn't Book"
## Integration Options
For connecting to Google Sheets, you have several options:
1. No-code platforms like Make.com can simplify the process of linking your systems to Retell AI [(3) ]() . You can set up triggers to fetch data and push updates to Google Sheets in real-time .
2. Webhooks enable push notifications for real-time updates . When a customer completes a call, a webhook can instantly notify your system to update the Google Sheets status .
3. Custom integrations using Retell AI's certified partners who specialize in creating tailored solutions for unique requirements .
## Webhook ImplementationAI Evy
08/06/2025, 3:59 PM{
"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",
"start_timestamp": 1714608475945,
"end_timestamp": 1714608491736,
"disconnection_reason": "user_hangup"
}
}
Your system can process this webhook data to determine the call outcome and update the corresponding Google Sheets row accordingly.AI Evy
08/06/2025, 3:59 PMAI Evy
08/06/2025, 3:59 PM