Accounts

Log in

Start a session.

POST/v1/auth/login

This sets the session cookie. Keep the csrf_token for requests that change something.

Authentication

None.

Body

emailstringrequired

Your email address.

passwordstringrequired

Your password.

Response

200 OK

accountobject

id, email, email_verified_at, created_at and workspaces.

csrf_tokenstring

Send it as X-CSRF-Token.

Errors

StatusCodeWhat to do
401invalid_credentialsThe email or password is wrong.
403email_not_verifiedVerify your email first.
403account_suspendedContact support.
429rate_limitedWait for Retry-After.