https://retellai.com/?utm_source=discord&utm_medium=seo logo
Can I send metadata in create batch call request, ...
# ❓・ai-evy-support
d
@AI Evy Can I send metadata in create batch call request, API Rest or python SDK.
a
Thanks for tagging me @David. I'll look through relevant sources and get back to you shortly.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer You can send optional dynamic variables as metadata in each task of your create batch call request using the API. This is done by including the retell_llm_dynamic_variables object as key-value pairs within each task. These dynamic variables are injected into your Response Engine prompt and tool description. Here is an example payload structure:
Copy code
json
{
  "from_number": "+14157774444",
  "tasks": [
    {
      "to_number": "+12137774445",
      "retell_llm_dynamic_variables": {
        "customer_name": "John Doe"
      }
    }
  ]
}
[(1) ]() There is no information in the sources about sending arbitrary metadata fields outside of retell_llm_dynamic_variables in the batch call request. For the Python SDK, there is no direct documentation confirming support for arbitrary metadata or custom fields—only the Node.js example and API docs above specify this usage.
​ To learn more, see the sources I considered: [[1] Create Batch Call](https://docs.retellai.com/api-references/create-batch-call) ​