Login
POST /auth/login401 for not-found, inactive, wrong-password and unknown organization alike, at the same cost.
Request body — LoginRequest
Section titled “Request body — LoginRequest”| Field | Type | Notes | |
|---|---|---|---|
email | string | required | min length 3 max length 254 |
password | string | required | min length 1 max length 256 |
organization_slug | string | null | optional | min length 2 max length 50 |
Responses
Section titled “Responses”| Status | Description | Body |
|---|---|---|
200 | Successful Response | — |
422 | Validation Error | HTTPValidationError |
Example
Section titled “Example”The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.
curl -X POST https://your-deployment.example.com/auth/login \ -H "Content-Type: application/json" \ -d '{ "email": "string", "password": "string" }'