Requested by POST query, all parameters are transmitted in JSON format in the request body.
https://api.quantumtec.eu/v1/viber/single
| 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 |
|---|---|---|---|
| to | string | Mandatory | Recipient's number |
| from | string | Mandatory | Sender name |
| text | string | Mandatory | Text of message |
| 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 |
In response, a data set in JSON format will be sent.
| Parameter | Descriptions |
|---|---|
| messageID | Message ID |
| sent | The time the message was sent to UTC. |