Skip to main content
POST
Authenticate user by username(email) and password

Body

email
string<email>
required
Required string length: 5 - 255
current-user
null | string<email>

Currently logged in user email

logout-other
boolean
default:false

Invalidate other sessions

long-term-token
boolean
default:true

Expire JWT token in 2 weeks if true and in 3 hours if false

password
string<password>
Required string length: 6 - 72
ret-url
null | string<url>

Login return URL

Response

200 - application/json

OK

api-token
string
Example:

"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

current-user
null | string
email
string
jwt-token
object
oauth-provider-tokens
object[]
ret-url
null | string
status
enum<string>
Available options:
anonymous,
pending,
active,
suspended
user-id
integer
Required range: x >= 0