POST Method - json
application/json
POST method - Example of full request:
POST /api/1.0/simple/promotional HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/json
Cache-Control: no-cache
{
"application_id": "<APPLICATION_ID>",
"application_token": "<APPLICATION_TOKEN>",
"number": "447700900000;7811901234;447712345678",
"text": "test_sms",
"unicode": true,
"sender_id": "gText",
"sender_id_value": "BulkGate",
"country": "gb",
"schedule": "2018-05-14T18:30:00-01:00"
}
Example of country request:
POST /api/1.0/simple/promotional HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/json
Cache-Control: no-cache
{
"application_id": "<APPLICATION_ID>",
"application_token": "<APPLICATION_TOKEN>",
"number": "447700900000;7811901234;447712345678",
"text": "test_sms",
"country": "gb"
}
Example of ISO 8601 request:
POST /api/1.0/simple/promotional HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/json
Cache-Control: no-cache
{
"application_id": "<APPLICATION_ID>",
"application_token": "<APPLICATION_TOKEN>",
"number": "447700900000;7811901234;447712345678",
"text": "test_sms",
"schedule": "2018-05-14T18:30:00-01:00"
}
Example of unix timestamp request:
POST /api/1.0/simple/promotional HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/json
Cache-Control: no-cache
{
"application_id": "<APPLICATION_ID>",
"application_token": "<APPLICATION_TOKEN>",
"number": "447700900000;7811901234;447712345678",
"text": "test_sms",
"schedule": 1526992636
}