Send
API URL
URL used to send HTTP requests:
https://portal.bulkgate.com/api/1.0/subscribe/send
POST /api/1.0/subscribe/send HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/json
Cache-Control: no-cache
Parameters table
| PARAMETER NAME | VALUE | MANDATORY | DEFAULT VALUE |
|---|---|---|---|
| application_id | Application ID | Yes | - |
| application_token | Application token | Yes | - |
| group | Recipient group | Yes | - |
| text | Message text | No | - |
| image | Message image | No | - |
| button | Message button | No | - |
Button object table
| PARAMETER NAME | VALUE | MANDATORY | DEFAULT VALUE |
|---|---|---|---|
| text | Button text | No | - |
| url | Button url | No | - |
Example of full request
POST /api/1.0/subscribe/send HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/json
Cache-Control: no-cache
{
"application_id": "####",
"application_token": "##################################################",
"group": 1,
"text": "Test",
"image": "<url>",
"button": {
"text": "text",
"url": "<url>"
}
}
Response to this command may be:
In case of success:
"data": {
}
In case of error: