Accounts
Log in
Start a session.
This sets the session cookie. Keep the csrf_token for requests that change something.
Authentication
None.
Body
emailstringrequiredYour email address.
passwordstringrequiredYour password.
Response
200 OK
accountobjectid, email, email_verified_at, created_at and workspaces.
csrf_tokenstringSend it as X-CSRF-Token.
Errors
| Status | Code | What to do |
|---|---|---|
| 401 | invalid_credentials | The email or password is wrong. |
| 403 | email_not_verified | Verify your email first. |
| 403 | account_suspended | Contact support. |
| 429 | rate_limited | Wait for Retry-After. |