Sign in
POST /sessionswith the user’s email. A magic sign-in link is emailed to them.POST /sessions/magicwith the token from that link. The response contains an auth token and a refresh token.- When the auth token expires,
POST /sessions/refreshwith the refresh token to get a new pair.
Send the token
Pass the auth token on every request:401 Unauthorized.