Skip to main content
POST
Login

Body

application/json

Request payload for login.

Request payload for login.

identifier
string
required

Email address or username of the account.

Required string length: 3 - 254
password
string
required

Password of the account.

Required string length: 1 - 1000
rememberMe
boolean
default:false

Whether to remember this device for extended session. Defaults to false.

Response

Response returned after successful authentication (login/signup).

Response returned after successful authentication (login/signup).

apiToken
string
required

The JWT API token for authentication.

expiresAt
string<date-time>
required

Timestamp when the token expires.

issuedAt
string<date-time>
required

Timestamp when the token was issued.

username
string
required

Handle of the authenticated account.

Required string length: 3 - 32
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$