v1

latestOpenAPI 3.1.02026-07-2616459400.5 KB
Auth

Login

Authenticate a user. Returns JWT access token and refresh token. Rate limited to 5 attempts per IP per 5 minutes.

post/auth/login

Request body

account_namestring required

Client/workspace name from client_details.clientname.

usernamestring

Username (provide either username or email).

emailstring email

Alternative to username.

passwordstring password required

Response

Login successful (or 2FA required).

OR

Example response

{
  "two_factor_required": true
}