Getting started with a Viber Business Messages channel
This article details the steps required to set up a Viber Business Messages channel for use with the Sinch Conversation API.
Channel Configuration
You need a Viber Business service plan in order to integrate with VIBERBM
channel. Your account manager can help you with the creation and configuration
of VIBERBM service plan for your Conversation API app. You can request this
through the Sinch Dashboard.
Just select your app and click on "SET UP CHANNEL" beside the Viber Business Messages channel.
You will receive a Viber Business service ID which you can then use in the
Sinch Dashboard to finish the
Viber Business Messages integration for your Conversation API app.
Alternatively you can use the management API to configure your app with
channel_credentials
for VIBERBM channel. The example snippet below
shows the credentials configuration for VIBERBM channel:
{
"channel_credentials": [
{
"channel": "VIBERBM",
"static_bearer": {
"claimed_identity": "{{VIBERBM_SERVICE_ID}}"
}
}
]
}
You need to replace {{VIBERBM_SERVICE_ID}}
with your VIBERBM service ID.
Don't forget to create at least one Conversation API webhook which will trigger POST callbacks to the given URL. You can do that from the Sinch Dashboard or programmatically using the management API.