POST
/api/v1/auth/login
Log in
Exchange credentials for an access and refresh token pair. Send the access token as `Authorization: Bearer <token>` on every other call; it is short-lived, so refresh it when a call answers 401.
Parameters
email
string · required
The user's email address.
password
string · required
The user's password.
curl https://malaleem.com/api/v1/auth/login \
-d email=user@example.com \
-d password=secret