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 current MFA configuration preferences.

Responses

  • 200 application/json

    The MFA settings were retrieved successfully.

    Hide response attribute Show response attribute object
    • skipMfaOnSignIn 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)
{
  "skipMfaOnSignIn": true
}