Http api

Our API enables you to interface your applications, websites and systems to 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: Type of message
    • 0: Plain text
    • 1: Flash message
  • dlr: Delivery report
    • 0: No delivery report
    • 1: Delivery report required
  • destination: Mobile numbers to send, multiple numbers separated by comma
  • sender: The sender Id. Max Length of 18 for only numeric and 11 if alpha numeric
  • message: The message to send
  • scheduledate [optional]: The date to send the message [mm/dd/year hr:min] Example: 05/25/2013 08:00
  • messageid: The message id returned by the server for every message sent, multiple message ids should be separated by comma. Delivery status are stored on the server 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

Bulk SMS API Reply Format

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