Issue with Assistant ID/workflow ID, When Configuring Custom Server URL for Phone Number

I’m dynamically assigning an assistantId via a webhook, and everything is working well technically — the webhook is firing, retrieving the caller info from Airtable, and returning an assistant ID.

However, I'm running into this error:

"Couldn't Get Assistant. `assistantId` bd083b2a-5ba8-45e6-b59f-f999977dfaab Does Not Exist."


The ID in question refers to a workflow, not a standard assistant.

---

❓ My questions:


1
Does the assistantId field in the webhook response strictly require a Vapi Assistant ID, or is it also possible to return a Workflow ID there?

2
If only possible with assistantID, could it be an easy fix on your end to add workflow IDs?


My use case requires assigning a workflowID dynamically through a Phone Number Server URL


Thanks in advance
Was this page helpful?