Skip to main content
POST
Resume an account session
Use this endpoint when you already hold an account sessionToken. Send it in X-Auth-Session-Token, without a request body. This value is the account session token, not the REST API JWT.
If 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

X-Auth-Session-Token
string
header
required

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.

Check status on every successful HTTP response. authenticated includes the JWT; mfa_required requires POST /api/auth/mfa/verify with the response cookie.

status
enum<string>
required

Indicates that authentication is complete and the JWT can be used.

Available options:
authenticated
sessionToken
string
required

Account session token. Keep it confidential. Use it for session resumption; use jwt for REST API authorization.

jwt
string
required

Bearer JWT for protected REST API requests. Send it as Authorization: Bearer .

session
object
required

Active authenticated session.

identity
object | null
required

Account identity, or null if absent.

tokenizedSession
object
required

Authenticated session containing the JWT in tokenized.