gratitud3.eth
09/20/2025, 10:20 PMChiranjeet Mishra
09/20/2025, 10:20 PMVapi Support Bot
09/20/2025, 10:21 PMallowedAssistantIds in its payload. Here’s a code snippet for generating a JWT that allows your assistant:
js
const payload = {
orgId: 'YOUR_ORG_ID',
token: {
tag: "public",
restrictions: {
enabled: true,
allowedAssistantIds: ["255e0842-3424-4421-835d-67a6276d72b3"], // Add your assistantId here
allowTransientAssistant: false,
},
},
};
// ...sign and generate JWT as usual
Update your token and try again.
[See JWT authentication docs for details.](https://docs.vapi.ai/customization/jwt-authentication)
Source:
- [JWT Authentication](https://docs.vapi.ai/customization/jwt-authentication)gratitud3.eth
09/20/2025, 10:21 PMgratitud3.eth
09/20/2025, 10:21 PMChiranjeet Mishra
09/24/2025, 7:01 AM