v1

latestOpenAPI 3.1.0MIT2026-07-2412028.8 KB
Sessions

Provision user and create session

Creates a Redfast user session after verifying a partner-signed JWT. If the user does not exist, they will be provisioned automatically.

post/v1/jwt_session

Request body

jwt_tokenstring required

JWT used to verify and create the session

Example request

{
  "jwt_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
}

Response

Session created successfully

successboolean
external_tenant_idstring
session_tokenstring
session_token_expires_atstring date-time

Example response

{
  "success": true,
  "external_tenant_id": "tenant-123",
  "session_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "session_token_expires_at": "2025-02-18T17:02:26.000Z"
}