After using my private key to generate a token with a 1 hour exportation. I try to make a call but get
401 JWT dosent permit access. Hot tip, you may be missing token in your JWT, error , unauthorized
#1211483291191083018
v
Vapi Support Bot
06/14/2025, 1:56 PM
To help troubleshoot your 401 JWT error, could you please share the exact Authorization header you are sending in your API request (with the token value redacted)? This will help determine if the JWT is being included and formatted correctly as required by the Vapi API documentation.
If possible, also confirm whether you are using OAuth2 or a custom JWT flow for authentication.
Source:
- [Vapi Server Authentication Documentation](https://docs.vapi.ai/server-url/server-authentication)
Vapi Support Bot
06/14/2025, 1:56 PM
To help troubleshoot your 401 JWT error, could you please share the exact Authorization header you are sending in your API request (with the token value redacted)? This will help determine if the JWT is being included and formatted correctly as required by the Vapi API documentation.
If possible, also confirm whether you are using OAuth2 or a custom JWT flow for authentication.
Source:
- [Vapi Server Authentication Documentation](https://docs.vapi.ai/server-url/server-authentication)
k
Kings_big💫
06/14/2025, 2:22 PM
Generate the JWT with { token: { tag: "private" }, orgId }, set expiresIn: "1h", and send it in the Authorization: Bearer header, ensuring your system clock is correct..