List CIMD user consent scopes

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/cimd/user-consent-scopes

List the tenant-level permission ceiling for CIMD clients: user scopes, API resource scopes, organization scopes, and organization API resource scopes.

Responses

  • 200 application/json

    The configured scopes.

    Hide response attributes Show response attributes object
    • organizationScopes array[object] Required
      Hide organizationScopes attributes Show organizationScopes attributes object
      • id string Required

        Minimum length is 1, maximum length is 21.

      • name string Required

        Minimum length is 1, maximum length is 128.

      • description string | null Required

        Maximum length is 256.

    • resourceScopes array[object] Required
      Hide resourceScopes attributes Show resourceScopes attributes object
      • resource object Required
        Hide resource attributes Show resource attributes object
        • id string Required

          Minimum length is 1, maximum length is 21.

        • name string Required

          Minimum length is 1.

        • indicator string Required

          Minimum length is 1.

      • scopes array[object] Required
        Hide scopes attributes Show scopes attributes object
        • id string Required

          Minimum length is 1, maximum length is 21.

        • name string Required

          Minimum length is 1, maximum length is 256.

        • description string | null Required
    • organizationResourceScopes array[object] Required
      Hide organizationResourceScopes attributes Show organizationResourceScopes attributes object
      • resource object Required
        Hide resource attributes Show resource attributes object
        • id string Required

          Minimum length is 1, maximum length is 21.

        • name string Required

          Minimum length is 1.

        • indicator string Required

          Minimum length is 1.

      • scopes array[object] Required
        Hide scopes attributes Show scopes attributes object
        • id string Required

          Minimum length is 1, maximum length is 21.

        • name string Required

          Minimum length is 1, maximum length is 256.

        • description string | null Required
    • userScopes array[string] Required

      Values are profile, email, phone, address, custom_data, identities, roles, urn:logto:scope:organizations, urn:logto:scope:organization_roles, or urn:logto:scope:sessions.

  • 401

    Unauthorized

  • 403

    Forbidden

GET /api/cimd/user-consent-scopes
curl \
 --request GET 'https://[tenant_id].logto.app/api/cimd/user-consent-scopes' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "organizationScopes": [
    {
      "id": "string",
      "name": "string",
      "description": "string"
    }
  ],
  "resourceScopes": [
    {
      "resource": {
        "id": "string",
        "name": "string",
        "indicator": "string"
      },
      "scopes": [
        {
          "id": "string",
          "name": "string",
          "description": "string"
        }
      ]
    }
  ],
  "organizationResourceScopes": [
    {
      "resource": {
        "id": "string",
        "name": "string",
        "indicator": "string"
      },
      "scopes": [
        {
          "id": "string",
          "name": "string",
          "description": "string"
        }
      ]
    }
  ],
  "userScopes": [
    "profile"
  ]
}