Get User API swagger JSON

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/.well-known/user.openapi.json

The endpoint for the User API JSON document. The JSON conforms to the OpenAPI v3.0.1 (a.k.a. Swagger) specification.

Responses

  • 200 application/json

    The JSON document.

GET /api/.well-known/user.openapi.json
curl \
 --request GET 'https://[tenant_id].logto.app/api/.well-known/user.openapi.json'