For the best experience turn off the battery saving mode.

Welcome to the
BSG Developer Docs.

Whether you're looking to use our REST APIs, receive
notifications with webhooks, or build an app for the
Intercom Messenger, you've come to the right place.

The VIBER message object

Attribute
Type
Description
to
type: array

The array of recipients msisdn's & reference's.

msisdn
type: string

The telephone number.

reference
type: string

A client reference.

text
type: string

The body of the VIBER message.

alpha_name
type: string

The sender of the message.

is_promotional
type: boolean

Indicates if the message is a promotional. Default: false.

options
type: hash

An hash with VIBER options.

viber
type: hash

An hash with VIBER optional params. (Required all params.)

img
type: string

An URL for image.

caption
type: string

Caption for the button.

action
type: string

An URL for action button.

MESSAGE OBJECT EXAMPLE

{ “to”:[
{
“msisdn”:”380972920000″,
“reference”:”ext_id_19″
}
],
“text”:”My Viber messages is shinier than your SMS messages”,
“alpha_name”:”BSG”,
“is_promotional”:false,
“options”:{
“viber”:
{
“img”:”http://mysite.com/logo.png”,
“caption”:”See Details”,
“action”:”http://mysite.com/”
}
}
}

Rate this post