Submit Multi
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 takesfalsefor default."period"as Integer takes1440for 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
{
"message": "OK",
"code": "200"
}