harsh-harlequin•6h ago
New Public key creation for every new Assistant
I am creating bulk assistants using APIs and launching them using web calls only do i need to create a new Public key for evey new assistant to be able to use it using public calls , because every time i test I got the error : {
"message": "Key doesn't allow assistantId 'd61db6a0-ca3f-4377-9132-0e8a0c7ce0cd'.",
"error": "Forbidden",
"statusCode": 403
}
Unless I create a new public key and allow the newly created assistant
4 Replies
Hi there,
Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST).
We’ll get back to you as soon as possible during our normal business hours.
If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly.
Warm regards,
Vapi
Customer Support Team
Vapi
Customer Support Team
You do not need to create a new public key for every assistant. Instead, you must update your existing public key to allow access to each new assistant you create—otherwise, you'll see the "Key doesn't allow assistantId" error.
Action:
After creating a new assistant, go to your Vapi Dashboard and add the assistant to your public key's allowed list. Example workflow: 1. Create assistant via API. 2. In the dashboard, edit your public key and add the new assistant's ID to its permissions. Tip: This step is required for every new assistant you want to use with the same public key (documentation). Source: - Web Widget documentation
After creating a new assistant, go to your Vapi Dashboard and add the assistant to your public key's allowed list. Example workflow: 1. Create assistant via API. 2. In the dashboard, edit your public key and add the new assistant's ID to its permissions. Tip: This step is required for every new assistant you want to use with the same public key (documentation). Source: - Web Widget documentation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
harsh-harlequinOP•6h ago
@Vapi Support Bot can i do the the allowed assistant public key update instead of using the dashboard ?
stormy-gold•5h ago
I have the same problem, always the same issue with keys it does not make any sense