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 URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token 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

bulkIdstring

The ID that uniquely identifies the request. Bulk ID will be received only when you send a message to more than one destination address.

Example request

{
  "messages": [
    {
      "smsFailover": {
        "validityPeriod": 15
      }
    }
  ]
}

Response

Messages accepted for delivery.

bulkIdstring

The ID that uniquely identifies the request. Bulk ID will be received only when you send a message to more than one destination address.

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.