Developer

Use the SMSgator HTTP API to connect applications, websites and systems to the messaging platform.

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

email
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

2601Success
2602Invalid URL
2603Invalid username/password
2604Invalid type
2605Invalid message
2606Invalid destination
2607Invalid sender
2608Invalid DLR
2609Invalid scheduled date format
2610Insufficient credit
2611Message sending/scheduling failed

Reply format

error code|destination|message id|units,...