Noah
02/27/2025, 2:03 PMVapi Support Bot
02/27/2025, 2:05 PMqueryParameters
section of your API request. Here's a quick example of how you can set it up:
json
{
"task": "ApiRequest",
"method": "GET",
"url": "https://api.example.com/data",
"headers": {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
"queryParameters": {
"param1": "{{dynamicValue1}}",
"param2": "{{dynamicValue2}}"
}
}
In this example, {{dynamicValue1}}
and {{dynamicValue2}}
can be replaced with variables that hold the values you received earlier in your workflow.
As for upcoming modifications, there are enhancements planned that will further improve the handling of query parameters in API calls. The recent updates have already made it easier to define both GET
and POST
requests, and the ability to specify query parameters is part of that flexibility. You can check the [February 10, 2025 changelog](https://docs.vapi.ai/changelog/2025/2/10) for more details on these improvements.
If you have any more questions or need further assistance, feel free to ask! 😊
Source:
- [February 10, 2025 Changelog](https://docs.vapi.ai/changelog/2025/2/10)Vapi Support Bot
02/27/2025, 2:13 PMNoah
02/27/2025, 2:13 PMNoah
02/27/2025, 2:30 PMShubham Bajaj
03/01/2025, 2:22 PM