Skip to Content

Get Dashboard Stats

GET
/api/v1/dashboard/stats

Get dashboard statistics for the current user's organization

Required scope: reports:read

Authorization

headerAuthorizationBearer <luso8_sk_live_<40 characters>>

A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.

Response Body

Successful Response

application/json
  1. response
stats*
recent_activities*array<>
chart_data*
Example Request
curl -X GET 'https://api.luso8.rexplore.ai/api/v1/dashboard/stats'
Example Response
{  "stats": {    "total_contacts": 0,    "contacts_change": 0,    "total_companies": 0,    "companies_change": 0,    "active_visitors": 0,    "intent_signals": 0,    "intent_change": 0,    "total_lists": 0,    "total_campaigns": 0,    "active_campaigns": 0,    "total_agents": 0,    "active_agents": 0,    "total_voice_agents": 0,    "total_calls": 0,    "total_knowledge_docs": 0,    "total_knowledge_folders": 0  },  "recent_activities": [    {      "id": "string",      "type": "string",      "title": "string",      "description": "string",      "timestamp": "2019-08-24T14:15:22Z",      "color": "string"    }  ],  "chart_data": {    "growth_data": [      {        "name": "string",        "contacts": 0,        "companies": 0      }    ],    "engagement_data": [      {        "name": "string",        "contacts": 0,        "conversations": 0,        "messages": 0,        "visitors": 0,        "calls": 0      }    ],    "contact_sources": [      {        "name": "string",        "value": 0,        "color": "string"      }    ],    "campaign_performance": [      {        "name": "string",        "sent": 0,        "opened": 0,        "clicked": 0,        "converted": 0      }    ]  }}