### Answer
If you want to pass a literal string value (such as your actual API key) as a query parameter in a Retell AI custom function, you should enter the value directly in the query parameters field for that function, not wrapped in curly braces or as a dynamic variable. For example, set the parameter as apikey: your_actual_api_key (without {{ }}) [(1) ](
) [(2) ](
) .
If you use curly braces like {{apikey}}, Retell will try to substitute it with a dynamic variable, which may lead to a different value appearing if a variable with that name is set or if it's unset, you could see the literal text {{apikey}} [(1) ](
) [(2) ](
) [(3) ](
) [(4) ](
) .
So, to ensure the literal value is sent:
- In the query parameters config for your custom function, enter the API key value directly (e.g., apikey: sk-1234abcd5678efg) .
- Do not use {{apikey}} unless you really want to use a dynamic variable.
If you are still seeing a different value in the logs, double-check that you have not accidentally set a variable with the same name, or that the field is not being overwritten by prompt logic or another node [(4) ](
) .