Skip to content
Lira APILira API

Authentication

Log in

post/auth/login

Authenticate with your credentials to receive a JWT access token and refresh token.

Body required

emailstringrequired
passwordstringrequired

Response

accessTokenstringrequired

Short-lived JWT — include as `Authorization: Bearer <token>`

refreshTokenstringrequired

Long-lived token — exchange via /auth/refresh for a new access token

expiresInintegerrequired

Access token lifetime in seconds

tokenTypestringrequired