Send many SMS to many receipients

  • Authentication required.
  • Params:
    • "from", "envelopes" are required.
    • "universal", "alphabet", "scheduled_delivery_time", "period" are optional.
  • Notice:
    • "from", "alphabet", "scheduled_delivery_time" as String.
    • "envelopes" as list of dictionaries, every dictionary contains "to", "text" as String.
    • "universal" as Boolean takes false for default.
    • "period" as Integer takes 1440 for default.

CURL Example:

curl -X POST https://oim.pasifiktelekom.com.tr/en/api/sms/submit/multi/ \
     -H 'Content-Type:application/json' -H 'accept:application/json' -H 'Authorization:XXXXXXXXXXXXXXXXXXXX' \
     -d '{"from": "YOUR_COMPANY", "envelopes": [{"to": "905999999998", "text": "SMS test 1"},{"to": "905999999999", "text": "SMS test 2"}]}'
GET /en/api/sms/submit/multi/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "message": "OK",
    "code": "200"
}