Skip to main content

User session

A user session begins after any authentication endpoint (e.g. authenticate magic link) is called with a specified session_duration_minutes. If you do not pass in a session_duration_minutes parameter, a session will not be created. These endpoints mint a User Session and return a session_token and session_jwt in the response, which can be forwarded to the client and stored:
Response 200
Object 200
Before performing any action that requires authorization, authenticate the user session to ensure that the session is valid.