POST Method - json
POST
method - application/json
It is strictly prohibited to exploit transactional SMS for promotional/marketing uses. It must be used for notification purposes only - as an SMS notification.
Example of full request:
POST /api/1.0/simple/transactional HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/json
Cache-Control: no-cache
{
"application_id": "<APPLICATION_ID>",
"application_token": "<APPLICATION_TOKEN>",
"number": "7700900000",
"text": "test_sms",
"unicode": true,
"sender_id": "gText",
"sender_id_value": "BulkGate",
"country": "gb"
}
Example of request with country prefix:
POST /api/1.0/simple/transactional HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/json
Cache-Control: no-cache
{
"application_id": "<APPLICATION_ID>",
"application_token": "<APPLICATION_TOKEN>",
"number": "7700900000",
"text": "test_sms",
"country": "gb"
}