v2

latestOpenAPI 3.1.02026-07-26391214472.7 KB
auth

Login

Authenticate with username and password, returning JWT token pair.

The 'tenant' field in the request body specifies which tenant to log into (slug or numeric ID). If not provided, the token has no tenant context.

post/api/v1/auth/login

Request body

usernamestring required
passwordstring required
tenantstring nullable

Tenant slug or numeric ID

Response

Successful Response

access_tokenstring required
refresh_tokenstring required
token_typestring
expires_ininteger required
is_first_loginboolean