v13

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-04237161688.6 KB
Sessions

Create a session token from a JWT template

Creates a JSON Web Token (JWT) based on a session and a JWT Template name defined for your instance

post/sessions/{session_id}/tokens/{template_name}

Path parameters

session_idstring required

The ID of the session

template_namestring required

The name of the JWT template defined in your instance (e.g. custom_hasura).

Request body

expires_in_secondsinteger nullable

Use this parameter to override the JWT lifetime.

Response

OK

object'token'
jwtstring