Viber integration

This page details how to integrate Viber.

Don’t miss the opportunity to connect your business with over 800 million users in 193 countries worldwide over Viber’s Public Accounts!

Choose from a variety of rich messaging options to instantly reach your customers over a channel they already love and they can reach you as they would reach their friends. Interactions look and feel as simple and native as their regular Viber conversations. Your users will enjoy the effortless, intimate experience that brings your brand closer to their world.

Viber account types

There are two account types that support Viber messaging: Viber Service Messages Account and Viber Public Accounts.

Viber Service Messages Account allows you to use Viber’s messaging platform to send targeted messages to your users at a competitive cost and high efficiency. It is used to send Viber messages as a part of our OMNI experience. To open an account you need to contact us.

A Viber Public Account allows businesses, brands and public figures to interact and form connections with Viber users around the globe. As a channel that encourages both engagement and personal connections, Public Accounts can be used for a wide variety of purposes - including sales, marketing, support, announcements and more.

For setting up a Viber Public Account, follow the steps described here.

Integration setup

To start sending messages over Viber Public Accounts, first you need to register it on Infobip’s platform. This is done by adding the Viber Public Accounts integration to the application you have already created. Use Authentication token as a value of the authenticationToken parameter.

The authentication token (also known as the application key) is a unique and secret account identifier. It is used to authenticate requests made inside the Public Accounts API and to prevent unauthorized persons from sending requests on behalf of a Public Account. You will need this token during the integration process.

The authentication token is generated upon Public Account creation and can be viewed by the account admins on the “edit info” screen of their Public Account.

Authentication token

Copy and save your Authentication token somewhere handy as you will need it during the next steps.

Note: Failing to send the authentication token in the header will result in an error with the “missing auth_token” message.

Request example

POST /omnichat/1/applications/0F3C3F29829FAB88714BA205BEC6D28F/integrations/viber HTTP/1.1
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Content-Type: application/json

  "publicAccount": {


  "publicAccount": {
    "id": "pa:1234...",
    "authenticationToken": "...",
    "name": "Public Account Name",
    "imageUrl": "https://..."

That’s it! You are now ready to send test messages by using Send message API method.

Every message we receive from your subscriber will be forwarded to the URL you provided and is described in more details in the Receive message section.

How can my organization contact people over Viber Public Accounts?

Users can easily discover the business that is relevant to their interests, needs, personal networks and location as shown below.