Login
POST/login
Authenticate with email and password. Returns a full User resource including companies with API tokens.
If the user has two-factor authentication enabled, you must include the
two_fa_code field with a valid TOTP code from the authenticator app.
Request
Responses
- 200
- 401
- 403
- 422
- 429
- 500
Login successful — returns User resource with nested companies and API token
Authentication required or token invalid
Insufficient permissions for this action
Validation failed
Too many requests — rate limit exceeded
Unexpected server error