HTTP API
Our API enables you to interface your applications, websites and systems with our robust and flexible messaging platform.
Submit message
http://smsgator.com/bulksms?email=info@smsgator.com&password=xxxxxx&type=0&dlr=0&destination=2348164525711,2348034525711&sender=SMSGator&message=abc&scheduledate=mm/dd/yr 08:00; Check balance
http://smsgator.com/bulksms/balance?email=info@smsgator.com&password=1234 Check delivery status
http://smsgator.com/bulksms/status?messageid=1234,1234,1234 Parameters
- Your login email.
- password
- Your login password.
- type
- 0 for plain text; 1 for flash message.
- dlr
- 0 for no delivery report; 1 when a delivery report is required.
- destination
- Mobile numbers, separated by commas.
- sender
- The sender ID: maximum 18 numeric or 11 alphanumeric characters.
- message
- The message to send.
- scheduledate
- Optional send date in mm/dd/year hh:mm format.
- messageid
- Message IDs returned by the server, separated by commas. Delivery status is stored for 72 hours.
Error codes
| 2601 | Success |
| 2602 | Invalid URL |
| 2603 | Invalid username/password |
| 2604 | Invalid type |
| 2605 | Invalid message |
| 2606 | Invalid destination |
| 2607 | Invalid sender |
| 2608 | Invalid DLR |
| 2609 | Invalid scheduled date format |
| 2610 | Insufficient credit |
| 2611 | Message sending/scheduling failed |
Reply format
error code|destination|message id|units,...