jake
11/23/2025, 4:36 PMChiranjeet Mishra
11/23/2025, 4:36 PMAdrian
11/23/2025, 7:33 PMAdrian
11/23/2025, 7:33 PMjake
11/23/2025, 10:29 PMChiranjeet Mishra
11/24/2025, 8:26 PMApiRequest node, you can configure it in your workflow with features like POST requests, async support, and task status messaging. The previous HttpRequest node is deprecated and should be migrated to ApiRequest. Here's the process to configure the ApiRequest node:
1. Node Declaration:
json
{
"type": "api-request",
"config": {
"url": "https://api.example.com/endpoint",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
"body": {
"key": "value"
},
"isAsync": true
}
}
2. Configuration Parameters:
- **url**: The endpoint for your API call.
- **method**: Typically POST, but can be GET, etc.
- **headers**: Any required request headers.
- **body**: JSON payload for the POST request.
- **isAsync**: Set to true for async requests if needed.
For more details, view the [changelog](https://docs.vapi.ai/changelog/2025/2/1#apirequest). If you're facing any errors, ensure that your backoffPlan is correctly set for retries, with customizable strategies and delays [here](https://docs.vapi.ai/changelog/2025/2/1#new-backoff-and-retry-controls).
If any issues persist, let me know, and we'll further investigate.