Hi! I’m trying to trigger (run) a
# general-english
t
Hi! I’m trying to trigger (run) a workflow directly via the Vapi API (not through an assistant), but I can’t find the correct POST endpoint or example in the docs. What is the exact API endpoint and payload to start a workflow directly? Which token (web token, server key, etc.) should I use? If possible, can you share a sample request (JS/fetch or cURL)? If direct triggering isn’t supported, what’s the recommended way to run workflow logic from a web app? I’m stuck on this and would really appreciate any help or code samples. Thanks!
k
Send a POST request to API endpoint with your workflowId, phoneNumberId, to, and from in the JSON body, and use your server API key in the Authorization header as Bearer .
t
I am trying to create this :

https://youtu.be/8GK8R77Bd7g?si=_0Pdplv82cKHCvwI

I don’t know what to put in the To field I am stuck can you please help
3 Views