Home / SMS GET API - Nellalink

SMS GET API - Nellalink

THE RAW API


Below is the API configuration for SENDING SMS.

https://nellalink.com/smsgetapi?username=YourUsername&password=YourPassword&sender=SenderID&recipient=234809xxxxxxx,2348030000000&text=YourText&dnd_option=yourDNDoption

Below is the API configuration for CHECK SMS Balance.

https://nellalink.com/smsgetapi?username=YourUsername&password=YourPassword&balance=true

Below is the API configuration for authenticating username with password.

https://nellalink.com/smsgetapi?username=YourUsername&password=YourPassword&login_check=true=true

Below is the explanation of the components of the API

Username: Your Nellalink.com account username

Password: Your Nellalink.com account password

Sender: The sender ID to show on the receipient's phone

Message: The text message to be sent

Recipient : The destination phone numbers. Separate multiple numbers with comma()

dnd_option: Set how you want the phone numbers on DND to be handled. Valid options are:

1 = Filter DND Phone numbers before sending SMS

2 = Send all messages via the Basic Route. DND phone numbers are not charged

3= Send message via the Basic route but send to those on DND via the Corporate Route.

4= Use corporate route for all the phone numbers

Balance: Set to "true" only when you want to check your credit balance

Balance: Set to "true" only when you want to check your credit balance

Schedule: NOT YET AVAILABLE

SERVER RESPONSES


Below is the list of the Server Responses and their meanings

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=Sender ID not allowed

EXAMPLE/ILLUSTRATION


For instance, after sending a message, a response similar to the one below might be generated.

OK 21 08033333333,08022222222,08055555555

This means: OK "no of sms credits used" "GSM numbers that failed"

where 21=no of sms credits used
and 08033333333,08022222222,08055555555 are the 3 numbers that failed

Note that it is of best practice to urlencode the API for successful delivery.