Analytics
Volume, response times and delivery funnels for reporting.
Inbox snapshot
Section titled “Inbox snapshot”GET
/v1/analytics/overviewBetaLive counts — open, unreplied, unassigned, closed — plus conversations per stage.
curl "https://api.waasl.io/v1/analytics/overview" \ -H "Authorization: Bearer $WAASL_API_KEY"const res = await fetch("https://api.waasl.io/v1/analytics/overview", { headers: { Authorization: `Bearer ${process.env.WAASL_API_KEY}` },});if (!res.ok) throw new Error((await res.json()).code);const data = await res.json();import osimport requests
r = requests.get( "https://api.waasl.io/v1/analytics/overview", headers={"Authorization": f"Bearer {os.environ['WAASL_API_KEY']}"},)r.raise_for_status()print(r.json())Response 200 — Counts
{ "open": 128, "unreplied": 14, "unassigned": 9, "closed": 5120, "stages": { "new_lead": 40, "customer": 61 }}Conversation metrics
Section titled “Conversation metrics”GET
/v1/analytics/conversationsComing soonNew, closed, first-response time and resolution time, bucketed by day/week/month.
Query parameters
| Field | Type | Description |
|---|---|---|
from required |
string (date) | |
to required |
string (date) | |
interval |
“day” | “week” | “month” | |
group_by |
“channel” | “team” | “user” | “stage” |
curl "https://api.waasl.io/v1/analytics/conversations?from=2026-09-01&to=2026-09-30" \ -H "Authorization: Bearer $WAASL_API_KEY"const res = await fetch("https://api.waasl.io/v1/analytics/conversations?from=2026-09-01&to=2026-09-30", { headers: { Authorization: `Bearer ${process.env.WAASL_API_KEY}` },});if (!res.ok) throw new Error((await res.json()).code);const data = await res.json();import osimport requests
r = requests.get( "https://api.waasl.io/v1/analytics/conversations?from=2026-09-01&to=2026-09-30", headers={"Authorization": f"Bearer {os.environ['WAASL_API_KEY']}"},)r.raise_for_status()print(r.json())Response 200 — Time series
{ "data": [ { "period": "2026-10-01", "new": 0, "closed": 0, "first_response_p50_seconds": 0, "resolution_p50_seconds": 0 } ]}Delivery funnel
Section titled “Delivery funnel”GET
/v1/analytics/messagesComing soonSent → delivered → read → replied, per template or broadcast, with WhatsApp conversation-cost breakdown.
Query parameters
| Field | Type | Description |
|---|---|---|
from required |
string (date) | |
to required |
string (date) | |
template |
string |
curl "https://api.waasl.io/v1/analytics/messages?from=2026-09-01&to=2026-09-30" \ -H "Authorization: Bearer $WAASL_API_KEY"const res = await fetch("https://api.waasl.io/v1/analytics/messages?from=2026-09-01&to=2026-09-30", { headers: { Authorization: `Bearer ${process.env.WAASL_API_KEY}` },});if (!res.ok) throw new Error((await res.json()).code);const data = await res.json();import osimport requests
r = requests.get( "https://api.waasl.io/v1/analytics/messages?from=2026-09-01&to=2026-09-30", headers={"Authorization": f"Bearer {os.environ['WAASL_API_KEY']}"},)r.raise_for_status()print(r.json())Response 200 — Funnel
{ "sent": 0, "delivered": 0, "read": 0, "replied": 0, "failed": 0}