Requested by POST query, all parameters are transmitted in JSON format in the request body.
https://api.quantumtec.eu/v1/viber/bulk
| Parameter | Valuse |
|---|---|
| Content-Type | application/json |
| Accept | application/json |
| X-ApiKey | API key for authentication |
Parameters are sent in JSON format
| Parameter | Format | Usage | Description |
|---|---|---|---|
| bulkId | string | Optional | Campaign ID. If not specified will be assigned automatically. |
| from | string | Mandatory | Sender name |
| text | string | Mandatory | Message text |
| recipients | array | Mandatory | Array of multiple recipients |
| recipients(to) | string | Mandatory | Recipient's number |
| recipients(messageId) | string | Optional | Indicated by the client in the event of having to use your own message ID. If not specified will be assigned automatically. |
| buttonText | string | Optional | Text on the button to link |
| buttonUrl | string | Optional | The link to go at the click of the button |
| pictureUrl | string | Optional | The link to the image displayed in the message |
| startTime | string | Optional | The start time of the campaign. Specified in "2018-01- 01T00: 10: 20.000Z", the time zone of the specified time must be UTC. If not specified, campaign will start immediately. |
In response, a data set in JSON format will be sent.
| Parameter | Descriptions |
|---|---|
| bulkId | Viber campaign ID |