Definition
This option is for NON-COMMERCIAL messages.
Examples : Registration confirmations, payment, shipping control, sending alerts, appointment reminders, etc …
With this option, you can send your messages 24/7.
WARNING : Any errors or fraud committed by sending advertising messages with the “transactional SMS” option will result in fines as described in the Terms and Conditions.
Please use this option with caution.
URL
XML :Â https://www.octopush-dm.com/api/sms
JSON :Â https://www.octopush-dm.com/api/sms/json
Encoding
UTF-8
Special parameters
Nom | Définition |
user_login | User login (email address). |
api_key | API key available on your manager. |
sms_recipients | List of numbers in international format + XXZZZZZ separated by commas. |
sms_text | Message text (maximum 459 characters). |
sms_type | SMS Type: XXX = Low Cost SMS; FR = Premium SMS; WWW = Global SMS. In France, if “STOP XXXXX” is missing from your text, the API will return an error. |
transactional | Set to 1 to confirm these messages, or alert us(24/7) to a FORMAL BAN on SMS marketing with this option (any abuse of this feature may lead to immediate account suspension and a fine of €1,000 per violation) |
Curl example
curl “https://www.octopush-dm.com/api/sms/?user_login=*****%40******.com&api_key=***************&sms_text=un+exemple+de+texte&sms_recipients=0033601010101&sms_type=FR&sms_sender=Octopush&transactional=1”
XML Back
000
0.55
6.93
api110000000021
1455975613
1
€
< successs>
< success>
+33601010101
FR
0.055
< /success>
< /successs>
< /failures>
JSon Back
{“error_code“:“000”,”cost“:0.055,”balance“:6.93,”ticket“:“api110000000021”,”sending_date“:1501503703,”number_of_sendings“:1,”currency_code“:“u20ac”,”failures“:[],”successs“:{“recipient“:33601010101,”country_code“:”FR”,”cost“:0.550,”sms_needed“:1}}
Defining XML Tags
Refer to page XML Returns