Skip to content
Lira APILira API

Authentication

Refresh token

post/auth/refresh

Exchange a refresh token for a new access token.

Body required

refreshTokenstringrequired

Refresh token previously issued by /auth/login or /auth/refresh

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