peterthehammer_05753
08/12/2025, 12:31 PMAI Evy
08/12/2025, 12:31 PMAI Evy
08/12/2025, 12:31 PMretell_llm_dynamic_variables [(2) ]() . This ensures each call has its own isolated context.
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponse = await client.call.update('call_a4441234567890777c4a4a123e6', {
metadata: { customer_id: 'cust_123', notes: 'Follow-up required' },
opt_out_sensitive_data_storage: true,
}) ;AI Evy
08/12/2025, 12:31 PM/webhook/authenticate-customer endpoint generates fresh authentication data for each new call
2. Your /webhook/verify-identity endpoint only uses data from the current call's context
3. You're not storing state globally that could leak between calls
The webhook verification process should be implemented to ensure authenticity [(4) ]() :
javascript
import { Retell } from "retell-sdk";
import express, { Request, Response } from "express";
const app = express() ;
app.use(express.json() ) ;
app.post("/webhook", (req: Request, res: Response) => {
if (
!Retell.verify(
JSON.stringify(req.body) ,
process.env.RETELL_API_KEY,
req.headers["x-retell-signature"] as string,
)
) {
console.error("Invalid signature") ;
return;
}
const {event, call} = req.body;
// process the webhook
// Acknowledge the receipt of the event
res.status(204) .send() ;
}) ;
If the problem persists, I recommend contacting Retell AI support at [Contact Sales]() or checking [) for additional troubleshooting resources.AI Evy
08/12/2025, 12:31 PMAI Evy
08/12/2025, 12:31 PMpeterthehammer_05753
08/12/2025, 12:46 PMAI Evy
08/12/2025, 12:46 PMAI Evy
08/12/2025, 12:46 PMcall_id that serves as the identifier [(1) ]() . When you create or register phone calls, they receive distinct identifiers:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.registerPhoneCall({
agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
}) ;
[(2) ]()
The call object includes metadata and dynamic variables that should be call-specific [(3) ]() [(1) ]() :
javascript
const callResponse = await client.call.update('call_a4441234567890777c4a4a123e6', {
metadata: { customer_id: 'cust_123', notes: 'Follow-up required' },
opt_out_sensitive_data_storage: true,
}) ;AI Evy
08/12/2025, 12:46 PMretell_llm_dynamic_variables and collected_dynamic_variables that should be isolated per call [(3) ]() [(1) ]() . The documentation shows these are part of the individual call object structure.
However, the available sources don't contain specific information about:
- Function calling behavior at call initiation
- Settings to force specific function calls at the start of each call
- Agent memory management between calls
- How to prevent variable caching across different calls
Since this appears to be an agent behavior issue related to function calling and memory management that isn't covered in the available API documentation, I recommend contacting Retell AI support directly:
- Visit [Contact Sales]()
- Visit [)
This issue requires engineering investigation as it involves the core agent behavior and function calling logic, which isn't detailed in the API reference documentation.AI Evy
08/12/2025, 12:46 PMAI Evy
08/12/2025, 12:46 PM