Submit interaction

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
POST /api/experience/submit

Submit the current interaction.
- Submit the verified user identity to the OIDC provider for further authentication (SignIn and Register).
- Update the user's profile data if any (SignIn and Register).
- Reset the password and clear all the interaction records (ForgotPassword).
- Complete a step-up interaction: the interaction must have reached the authentication context class the authorization request selected, and only the methods it established are written to the account, with no sign-in side effect.

Responses

  • 200 application/json

    The interaction has been successfully submitted.

    Hide response attribute Show response attribute object
    • redirectTo string Required
  • 400

    Bad Request

  • 403

    Multi-Factor Authentication (MFA) is enabled for the user but has not been verified (SignIn and Register).
    - A sign-in with requested acr_values still lacks a Logto-verifiable first factor (session.step_up.require_verification); the response data carries the selected authentication context class, the available methods, and the masked identifiers.
    - The achieved authentication context does not satisfy the requested authentication context class (session.step_up.acr_not_satisfied); no interaction result is written.

  • 404

    The user has not been identified.

  • 422

    The user profile can not been processed, check error message for more details.
    - The profile data is invalid or conflicts with existing user data.
    - Required profile data is missing.
    - The profile data is already in use by another user account.

POST /api/experience/submit
curl \
 --request POST 'https://[tenant_id].logto.app/api/experience/submit'
Response examples (200)
{
  "redirectTo": "string"
}