v1
latestOpenAPI 3.1.02026-07-2414238909.1 KBSend a Viber Campaign
Send viber messages to multiple recipients. This is a paid service.
post/viber/campaign
Headers
Authorizationstring required
Bearer {access_token}
Content-Typestring required
application/json
Request body
Response
200
Example response
{
"trackingId": "x1xx0x00-xxx1-0x1x-x111-0111100xxx00",
"type": "Viber",
"state": "Scheduled",
"createdAt": "2022-01-17T14:34:13.47Z",
"scheduledDate": "2022-08-11T12:36:45.393Z",
"senderInfoTrackingId": "x1xx0x00-xxx1-0x1x-x111-0111100xxx00",
"senderInfoName": "viber",
"to": [
"+37xxxxxxxxxx"
],
"groups": [
"Group name"
],
"campaignName": "Campaign1243",
"body": {
"text": "This is a test, please ignore!",
"imageURL": "https://www.xxxxxxxxx.com/css/xxxxx.jpg",
"action": {
"caption": "Go",
"targetUrl": "https://www.routee.net/"
}
},
"ttl": 30,
"totalMessages": 2,
"viberAnalysis": {
"numberOfRecipients": 2,
"recipientsPerCountry": {
"XX": 1
},
"recipientCountries": {
"+37xxxxxxxxxx": "XX"
},
"recipientsPerGroup": {
"Group name": 1
},
"totalInGroups": 1,
"bodyAnalysis": {
"characters": 30
}
},
"inboundUrl": "http://www.yourserver.com/inbound-messages",
"callbackUrl": "http://www.yourserver.com/callback",
"label": "Test"
}