POST
/api/auth/login
Start a new session
This endpoint is only relevant for session-based authentication. You call it to start a session and it will return the authenticated user.
Post parameters
Parameter | Type | Required | Description |
---|---|---|---|
email |
string |
required |
The email address of the user |
password |
string |
required |
The password of the user |
long |
bool |
|
Create a long-lasting session |