Teleo SMS API (XML)
- We support Secured (HTTPS) requests. Use https:// in API for Secured (SSL) requests.
Single SMS
http://sms.teleosms.com/api/mt/SendSMS?
Data:
<smsqueue><Account><User>ru1</User><Password>ru1</Password><SenderId>TELEOS</SenderId><Channel>Promo</Channel><Route>##</Route><DCS>0</DCS><FlashSms>0</FlashSms></Account><Messages><Message><Number>91999xxxxxxx</Number><Text>This is test message</Text></Message></Messages></smsqueue>
Response :
<SmsRespons><ErrorCode>000</ErrorCode><ErrorMessage>Done</ErrorMessage><JobId>20042</JobId><MessageData><Messages><Number>91999xxxxxxx</Number><MessageId>qY100LoTRUOoHU2gzFcrWA</MessageId></Messages></MessageData></SmsRespons>
Multiple SMS
http://sms.teleosms.com/api/mt/SendSMS?
Data:
<smsqueue><Account><User>ru1</User><Password>ru1</Password><SenderId>TELEOS</SenderId><Channel>Promo</Channel><Route>##</Route><DCS>0</DCS><FlashSms>0</FlashSms></Account><Messages><Message><Number>91999xxxxxxx</Number><Text>This is test message</Text></Message><Message><Number>91989xxxxxxx</Number><Text>This is test message</Text></Message></Messages></smsqueue>
Response :
<SmsRespons><ErrorCode>000</ErrorCode><ErrorMessage>Done</ErrorMessage><JobId>20042</JobId><MessageData><Messages><Number>91999xxxxxxx</Number><MessageId>qY100LoTRUOoHU2gzFcrWA</MessageId></Messages><Messages><Number>91989xxxxxxx</Number><MessageId>DS10054TRUOo2gzFDWrWM</MessageId>
Schedule SMS
http://sms.teleosms.com/api/mt/SendSMS?
Data:
<SmsQueue><Account><User>ru1</User><Password>ru1</Password><SenderId>TELEOS</SenderId><Channel>Promo</Channel><Route>##</Route><DCS>0</DCS><FlashSms>0</FlashSms><SchedTime>0</SchedTime></Account><Messages><Message><Number>91999xxxxxxx</Number><Text>This is test message</Text></Message></Messages></SmsQueue>
Response :
<SmsRespons><ErrorCode>000</ErrorCode><ErrorMessage>Done</ErrorMessage><JobId>20042</JobId><MessageData><Messages><Number>91999xxxxxxx</Number><MessageId>qY100LoTRUOoHU2gzFcrWA</MessageId></Messages></MessageData></SmsRespons>
Group SMS
http://sms.teleosms.com/api/mt/SendSMS?
Data:
<SmsQueue><Account><User>ru1</User><Password>ru1</Password><SenderId>TELEOS</SenderId><Channel>Promo</Channel><Route>##</Route><DCS>0</DCS><FlashSms>0</FlashSms><GroupId>0</GroupId></Account><Messages><Message><Number>91999xxxxxxx</Number><Text>This is test message</Text></Message></Messages></SmsQueue>
Response :
<SmsRespons><ErrorCode>000</ErrorCode><ErrorMessage>Done</ErrorMessage><JobId>20042</JobId><MessageData><Messages><Number>91999xxxxxxx</Number><MessageId>qY100LoTRUOoHU2gzFcrWA</MessageId></Messages></MessageData></SmsRespons>
Parameter Information
Parameter Name | Description |
---|---|
Account Parameters | |
user | Your login username |
password | Your login password |
APIKey | Instead of the username and password you can use the apple key for authentication of account |
Message Parameters | |
senderid | Approved sender id(6 characters string only). |
channel | Message channel promotional or transactional |
route | Pass the route id in this parameter to route the message. Click Here for more information regarding your routeid. |
DCS | Data coding value (Default is 0 for normal message, Set 8 for unicode sms) |
flashsms | Flash message immediate display (Default is 0 for normal sms, Set 1 for immediate display) |
number | Recipient mobile number (pass with comma seprated if need to send on more then one number) |
text | Your sms content |
Optional Parameters | |
schedtime | Schedule date and time for scheduling message (DateTime formate will be 2014/10/06 20:30:00 PM yyyy/mm/dd hh:mm:ss PM) |
groupid | group id for numbers |
Was this helpful?
0 / 0