Marcos
05/29/2025, 10:24 AMVapi Support Bot
05/29/2025, 10:26 AMbody property set as a JSON object. For example, if you don't need to send any data, use:
json
"body": {}
If you need to send data, structure it like:
json
"body": { "key": "value" }
This should allow you to save the ApiRequest tool successfully.
Sources:
- [Vapi API Reference: Create Tool](https://docs.vapi.ai/api-reference/tools/create)
- [Vapi Changelog: API Request Node](https://docs.vapi.ai/changelog/2025/2/1)Vapi Support Bot
05/29/2025, 10:26 AMbody property set as a JSON object. For example, if you don't need to send any data, use:
json
"body": {}
If you need to send data, structure it like:
json
"body": { "key": "value" }
This should allow you to save the ApiRequest tool successfully.
Sources:
- [Vapi API Reference: Create Tool](https://docs.vapi.ai/api-reference/tools/create)
- [Vapi Changelog: API Request Node](https://docs.vapi.ai/changelog/2025/2/1)Vapi Support Bot
05/29/2025, 10:26 AMbody property set as a JSON object. For example, if you don't need to send any data, use:
json
"body": {}
If you need to send data, structure it like:
json
"body": { "key": "value" }
This should allow you to save the ApiRequest tool successfully.
Sources:
- [Vapi API Reference: Create Tool](https://docs.vapi.ai/api-reference/tools/create)
- [Vapi Changelog: API Request Node](https://docs.vapi.ai/changelog/2025/2/1)Vapi Support Bot
05/29/2025, 10:26 AMbody property set as a JSON object. For example, if you don't need to send any data, use:
json
"body": {}
If you need to send data, structure it like:
json
"body": { "key": "value" }
This should allow you to save the ApiRequest tool successfully.
Sources:
- [Vapi API Reference: Create Tool](https://docs.vapi.ai/api-reference/tools/create)
- [Vapi Changelog: API Request Node](https://docs.vapi.ai/changelog/2025/2/1)Vapi Support Bot
05/29/2025, 10:29 AMVapi Support Bot
05/29/2025, 10:29 AMVapi Support Bot
05/29/2025, 10:29 AMVapi Support Bot
05/29/2025, 10:29 AMChiranjeet Mishra
05/29/2025, 10:20 PMGET to POST
- Keep your request body configuration as is
- The body type should automatically resolve to "object" when you have properties defined
\### Option 2: If this should be a GET request
- Remove the entire Request Body section
- Use URL parameters or headers instead for any data you need to send
- GET requests should not have request bodies
**Step-by-step implementation**:
1\. **For POST request (Option 1)**:
- Change the HTTP Method dropdown from "GET" to "POST"
- Add a Content-Type: application/json header if not already present
- Your existing message property configuration should work correctly
2\. **For GET request (Option 2)**:
- Keep GET method
- Remove the "message" property from the Request Body section
- If you need to send the message, add it as a URL parameter instead