POST
https://api.octopush.com/v1/public/sms-campaign/sendHTTP Method
Todas las solicitudes deben transmitirse utilizando el estándar REST.
Encoding:
Our API works in UTF8. Please remember to convert/re-encode your data before sending it to us.
Security SSL:
To ensure the security and confidentiality of your data, transfers are made through the SSL protocol.
Example Curl
curl -X POST \
'https://api.octopush.com/v1/public/sms-campaign/send' \
-H 'Content-Type: application/json' \
-H 'api-key: ************' \
-H 'api-login: ******@email.org' \
-H 'cache-control: no-cache' \
-d '{
"recipients": [
{
"phone_number": "+442038828112",
"param1": "Alex"
}
],
"text": "Here is a Premium SMS with STOP. STOP at 30101",
"type": "sms_premium",
"purpose": "wholesale",
"sender": "Company X"
}'