Skip to main content
POST
cURL

Body

application/json
email
string<email>
required
Example:

"you@yourdomain.com"

password
string
required
Example:

"MyStr0ng!Pass"

Response

Login successful. Returns a fresh JWT pair. Use the access_token as Authorization: Bearer <token> against /organizations/me/... to look up the org_id, app_id, and api_key. When the account has an authenticator app or a passkey, the response carries 2fa_required: true and a temp_token instead of tokens.

access_token
string

RS256-signed JWT. Use as Authorization: Bearer <token> for Account Management endpoints.

refresh_token
string
expires_in
integer

Lifetime of the access token in seconds (default 86400).

Example:

86400

message
string
Example:

"Login successful"

Last modified on November 1, 2026