Skip to main content
POST
Request WABA account analytics

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
integer
required

an internal id of the WABA account (the only value used to address this account)

Body

application/json

Analytics request parameters.

start
integer
required

Window start as a UNIX timestamp (seconds). A start older than 365 days is silently clamped to the last 365 days.

Example:

1751328000

end
integer
required

Window end as a UNIX timestamp (seconds). An end in the future is clamped to now.

Example:

1753920000

dimensions
string

Optional comma-separated pricing breakdown dimensions. Allowed values: COUNTRY, PRICING_CATEGORY, PRICING_TYPE (e.g. "COUNTRY,PRICING_CATEGORY", surrounding whitespace tolerated). Applies to the pricing_analytics breakdown only; the messaging analytics block is unaffected. Omitted or empty yields flat pricing points with no breakdown keys.

Example:

"COUNTRY,PRICING_CATEGORY"

Response

Analytics request accepted (or already in progress / cached)

status
enum<string>
required
Available options:
ok,
error
Example:

"ok"

data
object
required