Get platform totals (internal)

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://docs.usehearsay.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "integrations MCP server": {
    "url": "https://docs.usehearsay.com/mcp"
  }
}

Close
GET /admin/report/latest-stats

Returns platform-wide totals: shared messages, devices and organizations, plus message, WhatsApp, voicemail, call-log and contact counts summed over one successful extraction per device. Super admin only.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • data object Required
      Hide data attributes Show data attributes object
      • totalSharedMessages number Required
      • totalMessages number Required
      • totalWhatsappMessages number Required
      • totalVoicemailMessages number Required
      • totalCallLogs number Required
      • totalContacts number Required
      • totalDevices number Required
      • totalOrganizations number Required
    • statusCode number Required
    • timestamp string(date-time) Required
GET /admin/report/latest-stats
curl \
 --request GET 'http://api.example.com/admin/report/latest-stats' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "totalSharedMessages": 1250000,
    "totalMessages": 4800000,
    "totalWhatsappMessages": 900000,
    "totalVoicemailMessages": 1200,
    "totalCallLogs": 86000,
    "totalContacts": 410000,
    "totalDevices": 3200,
    "totalOrganizations": 640
  },
  "statusCode": 200,
  "timestamp": "2026-01-15T10:15:00.000Z"
}