channels
viber
viber_bot
incoming-viber-bot-message

Receive incoming message

Incoming messages will be forwarded to this endpoint. Please provide the endpoint’s URL to your Account Manager and they will set it up for you. Alternatively you can specify the endpoint per each message via the webhooks > delivery > url parameter. Contact support@infobip.com if you require help.

postWebhookreceive-viber-bot-api-incoming-messages

Payload

messageCountinteger

The number of messages returned in the results array.

pendingMessageCountinteger

The number of messages that have not been pulled in.

Response

Your server returns this code if it accepts the callback.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.