Calling usage and cost
Changed onAggregated calling usage across your numbers, both channels (WhatsApp Business Calling + regular phone/PSTN): call counts, answered counts, minutes, and cost. Use it for cost visibility or to rebill your own customers per number.
Costs come from each call's billing snapshot, so this endpoint always agrees with the invoice: billableUSD is what Zernio bills; metaUSD is the WhatsApp per-minute charge Meta bills directly to your WABA (display only, never billed by Zernio).
Optional groupBy returns a breakdown by UTC day, by your number, or by channel. Defaults to the last 30 days.
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/usage/calls
- Auth: HTTP bearer
Query parameters
Start of the window (inclusive). Default 30 days before until.
End of the window (exclusive). Default now.
Scope to calls involving this number (typically one of YOUR numbers). E.164, leading + optional.
Response
Usage totals (+ breakdown when groupBy is set).
Changes
- warning
added the new
accountenum value to the/response property for the response status
- warning
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info