Analytics Overview

Get a high-level summary of all activity across email, chat, voice, leads, and agent actions for your company.

GET /v1/analytics/overview

Parameters

Parameter
Type
Default
Description

from

ISO 8601

30 days ago

Start of the date range

to

ISO 8601

Now

End of the date range

Response

{
  "period": {
    "from": "2026-01-01T00:00:00.000Z",
    "to": "2026-03-12T00:00:00.000Z"
  },
  "emails": {
    "total_processed": 1240,
    "drafts_created": 980,
    "sent": 720
  },
  "chats": {
    "total": 340,
    "by_platform": {
      "webchat": 280,
      "whatsapp": 40,
      "messenger": 15,
      "instagram": 5
    }
  },
  "voice": {
    "total": 85,
    "total_duration_seconds": 24720
  },
  "leads": {
    "total": 62,
    "by_source": {
      "chat": 48,
      "voice": 14
    }
  },
  "agent_actions": {
    "total": 520,
    "by_status": {
      "auto_executed": 310,
      "manually_approved": 100,
      "pending_approval": 45,
      "rejected": 30,
      "failed": 20,
      "cancelled": 15
    }
  }
}

Response Fields

emails

Field
Type
Description

total_processed

integer

Total emails processed by Opally

drafts_created

integer

Emails where a draft was generated

sent

integer

Drafts that were actually sent

chats

Field
Type
Description

total

integer

Total chat conversations

by_platform

object

Breakdown by platform (webchat, whatsapp, messenger, instagram)

voice

Field
Type
Description

total

integer

Total voice calls received

total_duration_seconds

integer

Combined duration of all calls in seconds

leads

Field
Type
Description

total

integer

Total leads captured

by_source

object

Breakdown by source channel

agent_actions

Field
Type
Description

total

integer

Total agent actions triggered

by_status

object

Breakdown by action status

Example

Last updated