Skip to main content
Exchange OTP for workspace token

Authorizations

Authorization
string
header
required

HTTP Basic Auth. For OTP request: pass email as username only (password field is ignored). For token exchange: pass email as username and the OTP code (received by email) in the password field (email:otp_code).

Path Parameters

kid
string
required

Workspace key identifier.

Example:

"workspace-key-id"

Response

JWT token pair

access_token
string
required
refresh_token
string
required
last_login_at
string<date-time> | null
Example:

"2024-01-15T10:30:00Z"

mfa_setup_required
boolean
Last modified on July 23, 2026