Skip to content

Login

POST /auth/login

401 for not-found, inactive, wrong-password and unknown organization alike, at the same cost.

FieldTypeNotes
emailstringrequiredmin length 3 max length 254
passwordstringrequiredmin length 1 max length 256
organization_slugstring | nulloptionalmin length 2 max length 50
StatusDescriptionBody
200Successful Response—
422Validation ErrorHTTPValidationError

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.

Terminal window
curl -X POST https://your-deployment.example.com/auth/login \
-H "Content-Type: application/json" \
-d '{
"email": "string",
"password": "string"
}'