Get MFA settings

GET /api/my-account/mfa-settings

Get MFA settings for the user. This endpoint requires the Identities scope. Returns current MFA configuration preferences.

Responses

  • 200 application/json

    The MFA settings were retrieved successfully.

    Hide response attribute Show response attribute object
    • requireMfaOnSignIn boolean Required
  • 400

    Bad Request

  • 401

    Permission denied, insufficient scope or MFA field not enabled.

  • 403

    Forbidden

GET /api/my-account/mfa-settings
curl \
 --request GET 'https://[tenant_id].logto.app/api/my-account/mfa-settings' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "requireMfaOnSignIn": true
}