Hi, I’m using the POST /call endpoint and passing this payload:
{
"assistantId": "xxx",
"phoneNumberId": "xxx",
"customer": {
"number": "+33..."
},
"metadata": {
"name": "John Test",
"appointmentDate": "2025-06-10",
"appointmentTime": "14:00"
}
}
My assistant prompt says:
“Hello {{name}}, this is a reminder for your appointment on {{appointmentDate}} at {{appointmentTime}}.”
But when I run the call, the assistant doesn’t mention the name or date/time.
Is this the correct way to reference metadata variables?
Do I need to do anything else for
{{name}}
and
{{appointmentDate}}
to work?