Skip to main content
POST /api/v1/auth/login
Exchange email + password for a JWT. This route is unauthenticated. Body
FieldTypeRequired
emailstring
passwordstring
curl -X POST http://localhost:5080/api/v1/auth/login \
  -H 'content-type: application/json' \
  -d '{"email":"[email protected]","password":"admin"}'
{
  "token": "eyJhbGciOi...",
  "user_id": "u_2abc...",
  "org_id": "o_2def...",
  "role": "owner"
}