auth
Login
Exchange email and password for an access token.
Takes username and password as form fields. Returns access_token and token_type, and sets the same token as the authentication cookie. Unknown credentials, a wrong password or an inactive user return 400 with detail LOGIN_BAD_CREDENTIALS, as does a malformed form body. An account without a password, such as an agent, returns 400 and must use API key authentication instead.
POST
Login
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/x-www-form-urlencoded
Response
Successful Response