Skip to content

Connect Viber to Click2Reply live chat

Messages your customers send on Viber arrive in Click2Reply as chats, and your agents’ replies go back through Viber.

  1. In the agent app, open Settings > Messaging apps and choose Viber.
  2. Fill in the fields below.
  3. Under New chats go to, pick the group that answers this channel, then connect.

Create a bot in the Viber Admin Panel and copy its authentication token.

FieldKey
Auth tokenauth_tokenrequired, secret

A secret is stored encrypted and never shown again, only a hint of it.

With a token holding channels.manage, connect with one call; group_id is optional:

Terminal window
curl -sS -X POST "https://api.click2reply.com/v1/channels/connections" \
-H "Authorization: Bearer $C2R_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channel":"viber","name":"Viber support","credentials":{"auth_token":"<auth_token>"}}'

The answer is { connections, manual_steps }: the connection, and each step left to do by hand as a code and the value to paste, such as the webhook URL.