Actions31
- User API Actions
- Organization API Actions
- Allowlist API Actions
- Domain API Actions
- Session API Actions
- Invitation API Actions
Session API → Get Token
AI-generatedSummary
Retrieve a JWT token for a specific session using a defined template.
Inputs
- sessionId (required) — The ID of the session.
- template (required) — The name of the JWT template from the Clerk Dashboard to generate a new token from, e.g., 'firebase', 'grafbase', or a custom template's name.
Output shape
a JSON object containing the token details
The output includes the generated token based on the provided session ID and template.