Get total user count

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/dashboard/users/total

Get total user count in the current tenant.

Responses

  • 200 application/json

    Total user count.

    Hide response attribute Show response attribute object
    • totalUserCount number Required
  • 401

    Unauthorized

  • 403

    Forbidden

GET /api/dashboard/users/total
curl \
 --request GET 'https://[tenant_id].logto.app/api/dashboard/users/total' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "totalUserCount": 42.0
}