Skip to main content

Sign in

  1. POST /sessions with the user’s email. A magic sign-in link is emailed to them.
  2. POST /sessions/magic with the token from that link. The response contains an auth token and a refresh token.
  3. When the auth token expires, POST /sessions/refresh with the refresh token to get a new pair.

Send the token

Pass the auth token on every request:
A missing, expired or signed-out token returns 401 Unauthorized.

Pick a workspace

Most endpoints work inside one workspace. Send its id in a header: