Alex
06/06/2025, 12:51 AMVapi Support Bot
06/06/2025, 12:52 AMrequests library to interact with the workflow endpoints directly. Here’s a minimal example for creating a workflow:
python
import requests
url = "https://api.vapi.ai/workflow"
headers = {
"Authorization": "Bearer YOUR_VAPI_API_KEY",
"Content-Type": "application/json"
}
data = {
"name": "My Workflow",
"nodes": [{"type": "start", "name": "Start"}],
"edges": []
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
Replace YOUR_VAPI_API_KEY with your actual API key. This approach lets you use all workflow features even if the SDK is not up to date.
Sources:
- [Vapi Workflows API Reference](https://docs.vapi.ai/api-reference/workflow/workflow-controller-create)
- [Vapi Workflows Quickstart](https://docs.vapi.ai/workflows/quickstart)Vapi
06/06/2025, 11:47 PMAlex
06/09/2025, 2:53 AMVapi
06/10/2025, 3:03 PM