https://retellai.com/?utm_source=discord&utm_medium=seo logo
inbound dynamic variables
# ❓・bug-report
j
Need a little help here- for inbound calling i cannot seem to get the dynamic variables to catch. Here is an example of my return: { "body": { "sublocationId": "234234", "contact.first_name": "guest", "contactId": "234234", "assistantId": "234234", "contact.email": "email@email.com", "contact.phone": "+19998887765" },....... Not sure if the schema is incorrect or something here but some help would be awesome
@Zexia - Retell AI @retellai I'm sure im doing something incorrect - maybe you can tell me?
z
Looks right to me, except that body means the response body, not a property named body
so you should return like this: https://docs.retellai.com/retell-llm/dynamic-variables#inbound-phone-calls-with-retell-numbers
Copy code
{
  "some_variable_name": "xxxx"
}