Skip to main content
POST
Login with email and password

Body

application/json
email_address
string<email>
required

Registered email address.

Example:

"alice@example.com"

user_password
string
required

Account password.

Example:

"P@ssw0rd123"

Response

Login successful

access_token
string
required

Short-lived JWT for authenticating API requests (sent in Authorization Bearer header).

Example:

"eyJhbGciOiJIUzI1NiIs..."

refresh_token
string
required

Long-lived JWT used to obtain new access/refresh token pairs.

Example:

"eyJhbGciOiJIUzI1NiIs..."

expires_in
integer
required

Access token lifetime in seconds (e.g. 3600 = 1 hour).

Example:

3600