KillUa
04/01/2026, 6:54 AMVapi Support Bot
04/01/2026, 6:55 AMurl_encode) in the URL field for apiRequest tools, and using {{ customer.number | url_encode }} is not currently accepted as a valid URL.
Suggestion:
For now, ensure that the value of {{customer.number}} is already URL-encoded before passing it to the assistant, so the + character is preserved as %2B in the query string.
json
"https://my-app.com/api/v1/customers?filter[phone_number]=%2B12025551234"
If you control the variable input, pre-encode it before sending. If not, consider reaching out to Vapi support for feature enhancement regarding URL encoding in dynamic variables.
For more details, see the [Vapi documentation on dynamic variables and apiRequest tools](https://docs.vapi.ai/tools/default-tools).
Source:
- [Default Tools | Vapi Documentation](https://docs.vapi.ai/tools/default-tools)Matt
04/01/2026, 7:51 AMShaunak
04/01/2026, 8:02 AMShaunak
04/01/2026, 8:02 AM