Skip to main content
Public endpoint. On success, the response sets the BEARER and refresh_token cookies (see Authentication). The tokens are not in the body.
This response is not wrapped in the standard envelope.

Body

string
required
Account username.
string
required
Account password.

Response

integer
1 on success.
integer
User id.
string
Display name.
string
Account username.
string
Main role, depends on the account type. Integrations use ROLE_SHOP accounts.
string[]
All roles of the account.
boolean
true once the account documents are approved.
boolean
true if the account has uploaded its documents.
boolean
Phone verification state of the account.
boolean
true if the user must verify their phone.

Errors