Resume an account session
Request a JWT for an existing session and complete two-factor authentication if required
sessionToken. Send it in X-Auth-Session-Token, without a request body. This value is the account session token, not the REST API JWT.
status is authenticated, the response includes a JWT for protected REST API requests.
If status is mfa_required, no JWT is returned. Preserve the cookie jar and complete two-factor verification with a method listed in methods. Use the same verification and JWT-extraction steps as password login, with AUTH_BASE_URL="https://platform.verolabs.co". Remove the cookie jar when authentication is complete.
A missing token returns HTTP 401 with session_missing. If the session is invalid, sign in again. Browser requests must originate from the authentication host.Authorizations
Existing account session token returned as sessionToken after authentication. This is not the Bearer JWT.
Response
Authenticated session and JWT, or a pending second-factor challenge. Inspect status.
- Option 1
- Option 2
Check status on every successful HTTP response. authenticated includes the JWT; mfa_required requires POST /api/auth/mfa/verify with the response cookie.
Indicates that authentication is complete and the JWT can be used.
authenticated Account session token. Keep it confidential. Use it for session resumption; use jwt for REST API authorization.
Bearer JWT for protected REST API requests. Send it as Authorization: Bearer .
Active authenticated session.
Account identity, or null if absent.
Authenticated session containing the JWT in tokenized.

