Log into the account

Returns an access token and the refresh token.

POST/v3/accounts/login

Headers

originstring
user-Agentstring

Request body

accountIdstringrequired

Unique identifier of the account.

Length: [0,36]

emailstringrequired

Email address of the user.

Length: [1,256]Format: email

passwordstringrequired

Password of the user.

Length: [8,256]

rememberMebooleanrequired

Remember me. When true, the refresh token is valid for 7 days instead of 1 day.

accountAliasstring

Unique account alias.

Length: [0,256]

twoFactorCodestring

Two factor code generated by Authenticator app.

Length: [6,6]

twoFactorRecoveryCodestring

Two factor recovery code.

Length: [1,256]

Response

200 OK

accessTokenstringrequired
refreshTokenstringrequired