API referenceReports
Get Dashboard Stats
GET
Get dashboard statistics for the current user's organization
Required scope: reports:read
header
AuthorizationBearer <luso8_sk_live_<40 characters>>A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.
Successful Response
application/json- response
stats*recent_activities*array<>chart_data*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 } ] }}Get Dashboard Activity GET
Recent events across the organisation for a period, newest first: contacts, companies, intent signals, conversations, tickets, calls, appointments, pipeline records, deals, campaigns and published articles. **Required scope:** `reports:read`
Add Comment POST
**Required scope:** `tickets:write`