The 403 error "Key doesn't allow assistantId ..." means your API key does not have permission to access the specified assistant.
To resolve this, go to the [Vapi Dashboard API Keys page](
https://dashboard.vapi.ai/keys), locate your API key, and ensure it is either organization-wide or explicitly allowed to access the assistantId in question.
Example:
1. Navigate to
Dashboard → API Keys.
2. Edit your API key and check its allowed assistant IDs or set it to "All Assistants" if appropriate.
This should resolve the authorization issue for new assistants.
Source:
- [Server Authentication Vapi Docs](
https://docs.vapi.ai/server-url/server-authentication)