Skip to main content
POST
Sign in with email and password

Body

application/json
email
string<email>
required
Example:

"you@example.com"

password
string
required
Example:

"CorrectHorse!Battery9Staple"

totp_code
string

Required only when 2FA is on.

Example:

"123456"

Response

200 - application/json

Signed in; returns tokens and the account.

{success, message, data} where data holds accessToken, refreshToken and the account.

success
boolean
Example:

true

message
string
Example:

"Login successful"

data
object