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
Example request
{
"jwt_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
}Response
Session created successfully
Example response
{
"success": true,
"external_tenant_id": "tenant-123",
"session_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"session_token_expires_at": "2025-02-18T17:02:26.000Z"
}