API reference
POSTPublic
Verify login MFA
/api/v1/login/mfa/verify
Complete the login challenge. Success returns the same contract as POST /api/v1/login (user + access_token). Wrong code → 422 MFA_CODE_INVALID while the challenge is still valid.
Path parameters
This endpoint has no path parameters.
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
challenge_token Required | string | Challenge token returned by login. e.g. "opaque-challenge" |
method Required | string | email or totp.e.g. "email" |
code Required | string | 6-digit email or TOTP code. e.g. "123456" |
Responses
| Status | Meaning |
|---|---|
| 200 | Logged in successfully |
| 401 | Missing or invalid Bearer token. |