Overview

This service exposes REST endpoints and Kafka topics for other services to send Viber messages to customers.

Information about the provider: Infobip

API

HTTP

https://infobip-viber-gateway.apps.brave.safibank.online/swagger/views/swagger-ui/#/

POST /viber/send/{number} sends an Viber message to the mobile phone identified by {number}

Kafka

This service listens on Kafka topic commons.send-message-infobip-viber.command.v2 and consumes messages of type SendViberMessageCommandV2. After receiving Kafka messages, it calls Infobip Viber REST endpoint to deliver messages to customers.

Usage

Viber messages aren’t intended to be sent out directly. Instead users/callers should create templates for required messages in output-manager. Then just set the channel property of POST requests of generated endpoints to VIBER, and output-manager will choose this service to deliver messages to customers.