BMP
10/07/2025, 7:02 PMVapi Support Bot
10/07/2025, 7:03 PMallowedAssistantIds restriction.
Here's a code snippet for the payload:
js
const payload = {
orgId: 'your-org-id',
token: {
tag: "public",
restrictions: {
enabled: true,
allowedAssistantIds: ["your-new-assistant-id"],
// ...other restrictions
}
}
};
// Sign this payload with your private key to create the JWT.
After generating the new token, use it in your Vapi UI or API requests.
For more details, see the [JWT Authentication guide](https://docs.vapi.ai/customization/jwt-authentication).
Source:
- [JWT Authentication](https://docs.vapi.ai/customization/jwt-authentication)BMP
10/07/2025, 7:07 PMGIDEON
10/08/2025, 11:53 AMChiranjeet Mishra
10/09/2025, 6:13 PMBMP
10/17/2025, 6:22 PMChiranjeet Mishra
10/21/2025, 6:09 PM