channels
viber
viber-business-messages
outbound-message
Send Viber text message(s)
Send one or many text message(s) possibly to multiple recipients.
post/viber/1/message/text
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
- or API key in header Authorization
- or API key in header Authorization
- or HTTP basic
Request body
Example request
{
"messages": [
{
"smsFailover": {
"validityPeriod": 15
}
}
]
}Response
Messages accepted for delivery.
Example response
{
"messages": [
{
"to": "385977666618",
"messageCount": 1,
"messageId": "06df139a-7eb5-4a6e-902e-40e892210455",
"status": {
"groupId": 1,
"groupName": "PENDING",
"id": 7,
"name": "PENDING_ENROUTE",
"description": "Message sent to next instance"
}
}
],
"bulkId": "2034072219640523073"
}Changes
No recorded changes to this operation across all 1 revision of this API.