Conversation Analytics
Counts conversations for a WABA, with optional breakdowns by category, type, direction, country, or phone number. Same WhatsApp Cloud API field passthrough as Message Analytics.
Cost is not returned by this endpoint — Meta stopped surfacing it for businesses billed through a partner as of July 1 2023. For dollar amounts, use your Splashify /billing/deductions ledger.
GET /api/v25.0/{WABA_ID}?fields=conversation_analytics.start(<unix>).end(<unix>).granularity(<granularity>)
Authorization: Bearer pk_live_<your-key>Customer-scoped alias
GET /api/v1/partner/customers/{customer_id}/whatsapp/analytics/conversations?fields=…Query parameters
Single fields= blob:
fields=conversation_analytics.start(<unix>).end(<unix>).granularity(<HALF_HOUR|DAILY|MONTHLY>)
[.phone_numbers([...])]
[.metric_types([CONVERSATION])]
[.conversation_categories([AUTHENTICATION,MARKETING,SERVICE,UTILITY])]
[.conversation_types([FREE_ENTRY,FREE_TIER,REGULAR])]
[.conversation_directions([BUSINESS_INITIATED,USER_INITIATED])]
[.dimensions(["CONVERSATION_CATEGORY","CONVERSATION_TYPE","COUNTRY","PHONE"])]| Field | Required | Notes |
|---|---|---|
start | yes | UNIX timestamp |
end | yes | UNIX timestamp |
granularity | yes | HALF_HOUR / DAILY / MONTHLY |
phone_numbers | no | Limit to specific numbers; omit for all on the WABA |
metric_types | no | CONVERSATION is the only reliable value for partners |
conversation_categories | no | Filter to a subset of AUTHENTICATION / MARKETING / SERVICE / UTILITY |
conversation_types | no | FREE_ENTRY / FREE_TIER / REGULAR |
conversation_directions | no | BUSINESS_INITIATED / USER_INITIATED |
dimensions | no | Break the counts down by CONVERSATION_CATEGORY, CONVERSATION_DIRECTION, CONVERSATION_TYPE, COUNTRY, PHONE |
Response — 200
{
"conversation_analytics": {
"data": [
{
"data_points": [
{
"start": 1693506600,
"end": 1696098600,
"conversation": 1,
"phone_number": "912240289385",
"country": "KW",
"conversation_type": "REGULAR",
"conversation_category": "MARKETING"
}
]
}
]
},
"id": "115344761664057"
}Errors
Same matrix as Message Analytics.
cURL
curl -X GET \
"https://api.splashifypro.com/api/v25.0/$WABA_ID?fields=conversation_analytics.start(1693506600).end(1706725800).granularity(MONTHLY).dimensions(%5B%22CONVERSATION_CATEGORY%22%2C%22CONVERSATION_TYPE%22%2C%22COUNTRY%22%2C%22PHONE%22%5D)" \
-H "Authorization: Bearer $SPLASHIFY_API_KEY"