billions-zoo-2710
04/13/2026, 7:53 AMtall-airline-16756
04/13/2026, 7:53 AMtall-airline-16756
04/13/2026, 7:53 AMexp claim (a Unix timestamp). That determines when a token becomes invalid.
• Typical TTLs range from about 10 minutes to 1 hour, but you can set any expiry you need when generating the token.
• Token expiry is checked at connect time. Once a participant is connected, LiveKit can refresh tokens to maintain the session.
• Also watch nbf (not before) and avoid zero/negative TTLs (those expire immediately).
If you’d like, tell me how you’re generating tokens (language or SDK) and the TTL you want — I can show the exact code snippet to set exp.
Sources: server-sdk-kotlin | livekit/livekit_composite | DeepWiki | Troubleshooting 401 Unauthorized and Token Errors | LiveKit, with interactive elements