Marc2020
09/23/2025, 2:48 AMVapi Support Bot
09/23/2025, 2:49 AMdashboard.vapi.ai in the allowedOrigins when generating your public key.
Here's an example payload for your JWT token:
js
const payload = {
orgId: process.env.ORG_ID,
token: {
tag: "public",
restrictions: {
enabled: true,
allowedOrigins: [
"https://yourwebsite.com",
"https://dashboard.vapi.ai"
]
}
}
};
This will allow both your website and the dashboard to interact with your agents without origin errors.
[See JWT authentication docs for more details.](https://docs.vapi.ai/customization/jwt-authentication)
Source:
- [JWT Authentication](https://docs.vapi.ai/customization/jwt-authentication)Marc2020
09/23/2025, 1:13 PMChiranjeet Mishra
09/24/2025, 9:32 PMVercel
09/24/2025, 11:41 PM