Auth

Log in

Returns the user, their workspaces and a JWT pair in the body (no cookies). For machine clients prefer a personal API token (POST /tokens): JWTs expire after 15 minutes.

post/auth/login

Request

  • Base URL: https://tasg.app/api/v1
  • URL: https://tasg.app/api/v1/auth/login
  • Auth: none required

Request body

emailstring email required
passwordstring required

Response

Session.

tokenstring required

Access JWT (15 min). Send as Authorization: Bearer ….

refreshTokenstring required

Refresh JWT (30 days). Exchange at POST /auth/refresh.

Changes

No recorded changes to this operation across all 1 revision of this API.