Vishnu
05/29/2025, 9:58 AMChiranjeet Mishra
05/30/2025, 6:01 AMbash
curl -X POST https://api.vapi.ai/workflow \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"nodes": [
{
"type": "conversation",
"name": "Example Node"
}
],
"name": "Example Workflow",
"edges": [
{
"from": "Example Node",
"to": "Another Node"
}
]
}'
Ensure that you replace <token> with your actual authorization token and adjust the node and edge details to match your workflow's specifics. If you need detailed configuration of nodes such as using API requests or specific models, refer to the [API Request configuration](https://docs.vapi.ai/workflows/nodes/api-request).