SMS API

Interface applications, websites and more with our flexible API. Enjoy reliable, secure connections, global coverage, and 300 SMS per second message throughput.

 

Configuration

 

HTTP API

http://nigeriasms.com.ng/smsapi.php?username=user&password=1234&sender=@@sender@@&recipient=@@recipient@@&message=@@message@@&

API response on success: OK
API response confirmation: Contains

Account Balance API

http://nigeriasms.com.ng/smsapi.php?username=xxx&password=xxx&balance=true&

API Protocol: HTTP GET
Push to API as: Bulk

 

Parameters

 

Balance

Set to true only when you want to check your credit balance

 

Message

The text message to be sent

Password

Your nigeriasms.com.ng account password

 

Recipient

Destination phone numbers. Separate multiple numbers with a comma (,)

Schedule

Specify this parameter only when you are scheduling an sms for later delivery. It should contain the date the message should be delivered. Supported format is "2009-10-01 12:30:00" i.e "YYYY-MM-DD HH:mm:ss"

 

Sender

The sender ID to show on the receiver's phone

 

Username

Your nigeriasms.com.ng account username.

 

 

Return Values

OK Successful
2904 SMS sending failed
2905 Invalid username/password combination
2906 Credit exhausted
2907 Gateway unavailable
2908 Invalid schedule date format
2909 Unable to schedule
2910 Username is empty
2911 Password is empty
2912 Recipient is empty
2913 Message is empty
2914 Sender is empty
2915 One or more required fields are empty
2916 Blocked message content
2917 Blocked sender ID