Get MFA settings

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi.logto.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Logto API references MCP server": {
    "url": "https://openapi.logto.io/mcp"
  }
}

Close
GET /api/my-account/mfa-settings

Get MFA settings for the user. This endpoint requires the Identities scope. Returns whether the user has enabled MFA and whether MFA verification is skipped at sign-in. enabled is omitted for users who predate the flag, which is treated as enabled when the user has usable factors.

Responses

  • 200 application/json

    The MFA settings were retrieved successfully.

    Hide response attributes Show response attributes object
    • skipMfaOnSignIn boolean Required
    • enabled boolean
  • 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)
{
  "skipMfaOnSignIn": true,
  "enabled": true
}