Logs in a user
POST/api/v1/auth/login
Authenticates a user with email and password. If the user has 2FA enabled, returns a 202 with a one-time challenge token that must be exchanged via /api/v1/auth/otp_challenge. Otherwise returns the api_key.
Request
Responses
- 200
- 202
- 401
authenticated successfully
two-factor authentication required
invalid credentials