Returns the totals of your Viber messages for a period: how many were sent, how many Viber accepted, how many failed and what they cost.Authentication: send your API key in a header named apiId. If your account has a list of allowed IP addresses, the call must come from one of them.Every parameter is optional. Without From and To the period is the last 30 days up to now. The period can be at most 366 days; a longer one answers 400. Give CampaignId to count one campaign only.data holds one row with providerTypeViber. delivered counts the messages Viber accepted, failed is the rest, and expenditure is the price of the accepted messages in your account currency.
Request
Authorization
API Key
Add parameter in header
apiId
Example:
apiId: ********************
or
Query Params
Header Params
Responses
🟢200Message totals
application/json
The totals for the period. data holds one row for Viber.