Cant give variable values inside assistant overrid...
# support
v
You can set variable values by including them in the
assistantOverrides
object as part of your API request body. For example, use the following JSON in your request:
Copy code
json
{
  "assistantId": "bc11c91c-3c4b-4e18-8634-da947ed3e423",
  "assistantOverrides": {
    "variableValues": {
      "name": "John"
    }
  }
}
Paste this into the raw body section of your API client or cURL request. This will inject your dynamic variables into the assistant template, even if the playground UI doesn't show a dedicated field for them. [See documentation](https://docs.vapi.ai/assistants/dynamic-variables#using-dynamic-variables-in-a-phone-call) Source: - [Variables: Using dynamic variables in a phone call](https://docs.vapi.ai/assistants/dynamic-variables#using-dynamic-variables-in-a-phone-call)
c
How can we assist you?
3 Views