Skip to main content

MFALoginVerifyRequestBody

$schemauri

A URL to the JSON Schema for this object.

Example: https://example.com/schemas/MFALoginVerifyRequestBody.json
challengeIdstringrequired

Challenge ID returned by /v1/auth/login or an OAuth flow

codestringrequired

6-digit TOTP code or backup code

trustDeviceboolean

When true, grant this device a 30-day trust so subsequent logins can skip the MFA prompt

useBackupboolean

Set true to consume a backup code instead of TOTP

MFALoginVerifyRequestBody
{
"$schema": "https://example.com/schemas/MFALoginVerifyRequestBody.json",
"challengeId": "string",
"code": "string",
"trustDevice": true,
"useBackup": true
}