--> We Have Given Commonly Used API's Here. If You Have Requirment For Other Then Below or Custom API Please Contact Us.
Normal Api
GET / POST https://www.tripadasmsbox.com/api/sendapi.php?auth_key=YourAuthKey&mobiles=919999999990,919999999999&message=test message&sender=senderid&route=4
Send Multiple Numbers
GET / POST https://www.tripadasmsbox.com/api/sendapi.php?auth_key=YourAuthKey&mobiles=919999999990,919999999999,919999999909&message=test message&sender=senderid&route=4
Send unicode message
GET / POST https://www.tripadasmsbox.com/api/sendapi.php?auth_key=YourAuthKey& mobiles=9999999999,919999999999&message=test message&sender=senderid&unicode=y&route=4
Send schedule message
GET / POST https://www.tripadasmsbox.com/api/sendapi.php?auth_key=YourAuthKey&mobiles=9999999999,919999999999&message=test message&sender=senderid&schedule=2016/08/25 18:30&route=4
Schedule unicode message
GET / POST https://www.tripadasmsbox.com/api/sendapi.php?auth_key=YourAuthKey&mobiles=9999999999,919999999999&message=test message&sender=senderid&schedule=2016/08/25 18:30&unicode=y&route=4
OTP Gateway
GET / POST https://www.tripadasmsbox.com/api/otp_api.php?auth_key=YourAuthKey&mobiles=919999999990&message=test message&sender=senderid
Normal Api
GET https://www.tripadasmsbox.com/api/sendapi.php?username=username&password=password&mobiles=919999999990,919999999999&message=test message&sender=senderid&route=4
Send Multiple Numbers
GET https://www.tripadasmsbox.com/api/sendapi.php?username=username&password=password&mobiles=919999999990,919999999999,919999999909&message=test message&sender=senderid&route=4
Send unicode message
GET https://www.tripadasmsbox.com/api/sendapi.php?username=username&password=password& mobiles=9999999999,919999999999&message=test message&sender=senderid&unicode=y&route=4
Send schedule message
GET https://www.tripadasmsbox.com/api/sendapi.php?username=username&password=password&mobiles=9999999999,919999999999&message=test message&sender=senderid&schedule=2016/08/25 18:30&route=4
Schedule unicode message
GET https://www.tripadasmsbox.com/api/sendapi.php?username=username&password=password&mobiles=9999999999,919999999999&message=test message&sender=senderid&schedule=2016/08/25 18:30&unicode=y&route=4
OTP Gateway
GET https://www.tripadasmsbox.com/api/otp_api.php?username=username&password=password&mobiles=919999999990&message=test message&sender=senderid
Normal XML Format
POST https://www.tripadasmsbox.com/api/xml_send_sms.php
	<MESSAGE>
		<AUTHKEY>Authentication key</AUTHKEY>
		<ROUTE>1</ROUTE >
		<SENDER>SenderID</SENDER>
		<SMS TEXT="hii this is test message">
			<ADDRESS>number1</ADDRESS>
		</SMS>
	</MESSAGE>
Send XML On Multiple Numbers
	<MESSAGE>
		<AUTHKEY>Authentication key</AUTHKEY>
		<ROUTE>1</ROUTE >
		<SENDER>SenderID</SENDER>
		<SMS TEXT="hii this is test message">
			<ADDRESS>number1</ADDRESS>
			<ADDRESS>number2</ADDRESS>
		</SMS>
	</MESSAGE>
Schedule Message
	<MESSAGE>
		<AUTHKEY>Authentication key</AUTHKEY>
		<ROUTE>1</ROUTE >
		<SENDER>SenderID</SENDER>
		<SCHEDULE>YYYY/MM/DD HH:MM</SCHEDULE>
		<SMS TEXT="hii this is test message">
			<ADDRESS>number1</ADDRESS>
			<ADDRESS>number2</ADDRESS>
		</SMS>
	</MESSAGE>
Sending Customize Message
	<MESSAGE>
		<AUTHKEY>Authentication key</AUTHKEY>
		<ROUTE>1</ROUTE >
		<SENDER>SenderID</SENDER>
		<SMS TEXT="message1">
			<ADDRESS>number1</ADDRESS>
		</SMS>
		<SMS TEXT="message2">
			<ADDRESS>number2</ADDRESS>
		</SMS>
	</MESSAGE>
Unicode Message Send
	<MESSAGE>
		<AUTHKEY>Authentication key</AUTHKEY>
		<ROUTE>1</ROUTE >
		<SENDER>SenderID</SENDER>
		<UNICODE>y</UNICODE>
		<SMS TEXT="hii this is test message">
			<ADDRESS>number1</ADDRESS>
		</SMS>
	</MESSAGE>
Normal XML Format
POST https://www.tripadasmsbox.com/api/xml_send_sms.php
	<MESSAGE>
		<USERNAME>Username</USERNAME>
		<PASSWORD>Password</PASSWORD>
		<ROUTE>1</ROUTE >
		<SENDER>SenderID</SENDER>
		<SMS TEXT="hii this is test message">
			<ADDRESS>number1</ADDRESS>
		</SMS>
	</MESSAGE>
Send XML On Multiple Numbers
	<MESSAGE>
		<USERNAME>Username</USERNAME>
		<PASSWORD>Password</PASSWORD>
		<ROUTE>1</ROUTE >
		<SENDER>SenderID</SENDER>
		<SMS TEXT="hii this is test message">
			<ADDRESS>number1</ADDRESS>
			<ADDRESS>number2</ADDRESS>
		</SMS>
	</MESSAGE>
Schedule Message
	<MESSAGE>
		<USERNAME>Username</USERNAME>
		<PASSWORD>Password</PASSWORD>
		<ROUTE>1</ROUTE >
		<SENDER>SenderID</SENDER>
		<SCHEDULE>YYYY/MM/DD HH:MM</SCHEDULE>
		<SMS TEXT="hii this is test message">
			<ADDRESS>number1</ADDRESS>
			<ADDRESS>number2</ADDRESS>
		</SMS>
	</MESSAGE>
Sending Customize Message
	<MESSAGE>
		<USERNAME>Username</USERNAME>
		<PASSWORD>Password</PASSWORD>
		<ROUTE>1</ROUTE >
		<SENDER>SenderID</SENDER>
		<SMS TEXT="message1">
			<ADDRESS>number1</ADDRESS>
		</SMS>
		<SMS TEXT="message2">
			<ADDRESS>number2</ADDRESS>
		</SMS>
	</MESSAGE>
Unicode Message Send
	<MESSAGE>
		<USERNAME>Username</USERNAME>
		<PASSWORD>Password</PASSWORD>
		<ROUTE>1</ROUTE >
		<SENDER>SenderID</SENDER>
		<UNICODE>y</UNICODE>
		<SMS TEXT="hii this is test message">
			<ADDRESS>number1</ADDRESS>
		</SMS>
	</MESSAGE>
Check Balance
GET / POST https://www.tripadasmsbox.com/api/balance.php?auth_key=YourAuthKey&type=1
Change Password
GET / POST https://www.tripadasmsbox.com/api/change_password.php?auth_key=YourAuthKey&password=password&newpass=newpassword&confirmpass=confirmpass
Check User
GET / POST https://www.tripadasmsbox.com/api/check_user.php?username=username&password=password
Check Auth
GET / POST https://www.tripadasmsbox.com/api/valid_auth.php?auth_key=YourAuthKey
Parameter Name Description
auth_key * authentication key
mobiles * Your Mobile number
message * Your Message
sender * Your sender ID, required must be 6 characters, alphabetic
route * Your Route, Eg: route=1 for promotional or route=4 for transactional SMS
unicode Unicode, required unicode=y
schedule schedule SMS, required Time Format YYYY/MM/DD HH:MM Eg: schedule=2016/08/25 18:30 Use 24 Hour Formet
campaign Your Campaign Name
Notice : * => Required field

Missing parameters:
Error code Description
201 Missing mobile no
202 Missing message
203 Missing sender ID
204 Missing password
205 Missing Authentication Key
206 Missing Route
207 Missing username
208 Missing Unicodes
209 Missing Schedule
210 Missing Campaign
Invalid Parameters:
Error code Description
401 You must have to entered valid mobile number
402 Invalid sender ID. Your sender ID must be 6 characters, alphabetic.
403 Invalid authentication key. Crosscheck your authentication key from your account’s API section.
404 Invalid Route.
405 Block Text.
406 Parameter's value are empty : message.
407 Campaign name cannot be greater than 32 characters.
408 Same Request cannot send in 20 second
409 Sender Id Not Approved
Error Codes:
Error code Description
601 Insufficient balance to send SMS.
602 Expired user account. You need to contact your account manager.
603 Banned user account. You need to contact your account manager.
604 This route is currently unavailable. You can send SMS from this route only between 9 AM - 9 PM.
605 Incorrect scheduled time. required format YYYY/MM/DD HH:MM
606 SMS is too long. message length must be '2907' characters
607 For API : Maximum 500 Number In One Request
608 Maximum 20 Request
609 For XML : Maximum 50000 Number In One Request
PHP Sample Code
//Your authentication key
$authKey = "YourAuthKey";

//Multiple mobiles numbers separated by comma
$mobileNumber = "9999999";

//Sender ID,While using route4 sender id should be 6 characters long.
$senderId = "102234";

//Your message to send, Add URL encoding here.
$message = urlencode("Your Message");

//Define route 
$route = "default";
//Prepare you post parameters
$postData = array(
    'auth_key' => $authKey,
    'mobiles' => $mobileNumber,
    'message' => $message,
    'sender' => $senderId,
    'route' => $route
);

//API URL
$url=" https://www.tripadasmsbox.com/api/sendapi.php";

// init the resource
$ch = curl_init();
curl_setopt_array($ch, array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => $postData
    //,CURLOPT_FOLLOWLOCATION => true
));


//Ignore SSL certificate verification
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);


//get response
$output = curl_exec($ch);

//Print error if any
if(curl_errno($ch))
{
    echo 'error:' . curl_error($ch);
}

curl_close($ch);

echo $output;
?>
JAVA Sample Code
import java.io.*;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLEncoder;


public class SendSms{

        public static void main(String[] args)
    	{
            //Your authentication key
            String auth_key = "YourAuthKey";
            //Multiple mobiles numbers separated by comma
            String mobiles = "9999999";
            //Sender ID,While using route4 sender id should be 6 characters long.
            String senderId = "102234";
            //Your message to send, Add URL encoding here.
            String message = "Your Message";
            //define route
            String route="default";

            //Prepare Url
            URLConnection myURLConnection=null;
            URL myURL=null;
            BufferedReader reader=null;

            //encoding message
            String encoded_message=URLEncoder.encode(message);

            //Send SMS API
            String mainUrl="https://www.tripadasmsbox.com/api/sendapi.php?";

            //Prepare parameter string
            StringBuilder sbPostData= new StringBuilder(mainUrl);
            sbPostData.append("auth_key="+auth_key);
            sbPostData.append("&mobiles="+mobiles);
            sbPostData.append("&message="+encoded_message);
            sbPostData.append("&route="+route);
            sbPostData.append("&sender="+senderId);

            //final string
            mainUrl = sbPostData.toString();
            try
            {
                //prepare connection
                myURL = new URL(mainUrl);
                myURLConnection = myURL.openConnection();
                myURLConnection.connect();
                reader= new BufferedReader(new InputStreamReader(myURLConnection.getInputStream()));
                //reading response
                String response;
                while ((response = reader.readLine()) != null)
                //print response
                System.out.println(response);

                //finally close connection
                reader.close();
            }
            catch (IOException e)
            {
                    e.printStackTrace();
            }
        }
}


C# Sample Code
//Your authentication key
string auth_Key = "YourAuthKey";
//Multiple mobiles numbers separated by comma
string mobileNumber = "9999999";
//Sender ID,While using route4 sender id should be 6 characters long.
string senderId = "102234";

//Youre Route 1 or 4
string route ="YourRoute"; 
//Your message to send, Add URL encoding here.
string message = HttpUtility.UrlEncode("Your Message");

//Prepare you post parameters
StringBuilder sbPostData = new StringBuilder();
sbPostData.AppendFormat("auth_Key={0}", auth_Key);
sbPostData.AppendFormat("&mobile={0}", mobileNumber);
sbPostData.AppendFormat("&message={0}", message);
sbPostData.AppendFormat("&sender={0}", senderId);
sbPostData.AppendFormat("&route={0}", route);

try
{
    //Call Send SMS API
    string sendSMSUri = "https://www.tripadasmsbox.com/api/sendapi.php";
    //Create HTTPWebrequest
    HttpWebRequest httpWReq = (HttpWebRequest)WebRequest.Create(sendSMSUri);
    //Prepare and Add URL Encoded data
    UTF8Encoding encoding = new UTF8Encoding();
    byte[] data = encoding.GetBytes(sbPostData.ToString());
    //Specify post method
    httpWReq.Method = "POST";
    httpWReq.ContentType = "application/x-www-form-urlencoded";
    httpWReq.ContentLength = data.Length;
    using (Stream stream = httpWReq.GetRequestStream())
    {
    	stream.Write(data, 0, data.Length);
    }
    //Get the response
    HttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse();
    StreamReader reader = new StreamReader(response.GetResponseStream());
    string responseString = reader.ReadToEnd();

    //Close the response
    reader.Close();
    response.Close();
}
catch (SystemException ex)
{
	MessageBox.Show(ex.Message.ToString());
}
VB Sample Code
Private Sub Command1_Click()

    Dim DataToSend As String
    Dim objXML As Object
    Dim message As String
    Dim authKey As String
    Dim mobiles As String
    Dim sender As String
    Dim route As String
    Dim URL As String

'Set these variables
auth_Key = "Your auth key";

mobiles  = "9999999999";

'Sender ID,While using route4 sender id should be 6 characters long.
sender = "TESTIN";

' this url encode function may not work fully functional.
message = URLEncode(" Your message ")

'Define route
route = "default"
' do not use https
URL = "https://www.tripadasmsbox.com/api/sendapi.php?"

Set objXML = CreateObject("Microsoft.XMLHTTP")
objXML.Open "POST", URL , False
objXML.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"

objXML.send "auth_Key=" + auth_Key + "&mobile=" + mobiles + "&message=" + message + "&sender=" + sender + "&route=" + route

 If Len(objXML.responseText) > 0 Then
        MsgBox objXML.responseText

 End If

End Sub

Function URLEncode(ByVal Text As String) As String
    Dim i As Integer
    Dim acode As Integer
    Dim char As String

    URLEncode = Text

    For i = Len(URLEncode) To 1 Step -1
        acode = Asc(Mid$(URLEncode, i, 1))
        Select Case acode
            Case 48 To 57, 65 To 90, 97 To 122
                ' don't touch alphanumeric chars
            Case 32
                ' replace space with "+"
                Mid$(URLEncode, i, 1) = "+"
            Case Else
                ' replace punctuation chars with "%hex"
                URLEncode = Left$(URLEncode, i - 1) & "%" & Hex$(acode) & Mid$ _
                    (URLEncode, i + 1)
        End Select
    Next

End Function
Report Api
GET / POST https://www.tripadasmsbox.com/api/dlrreport.php?auth_key=YourAuthKey&req_id=RequestID
Push DLR
For This API Kindly Login To Account
Parameter Name Description
auth_key * authentication key
mobiles * Your Mobile number
message * Your Message
sender * Your sender ID, required must be 6 characters, alphabetic
route * Your Route, Eg: route=1 for promotional or route=4 for transactional SMS
unicode Unicode, required unicode=y
schedule schedule SMS, required Time Format YYYY/MM/DD HH:MM Eg: schedule=2016/08/25 18:30 Use 24 Hour Formet
campaign Your Campaign Name
Notice : * => Required field

Missing parameters:
Error code Description
201 Missing mobile no
202 Missing message
203 Missing sender ID
204 Missing password
205 Missing Authentication Key
206 Missing Route
207 Missing username
208 Missing Unicodes
209 Missing Schedule
210 Missing Campaign
Invalid Parameters:
Error code Description
401 You must have to entered valid mobile number
402 Invalid sender ID. Your sender ID must be 6 characters, alphabetic.
403 Invalid authentication key. Crosscheck your authentication key from your account’s API section.
404 Invalid Route.
405 Block Text.
406 Parameter's value are empty : message.
407 Campaign name cannot be greater than 32 characters.
408 Same Request cannot send in 20 second
409 Sender Id Not Approved
Error Codes:
Error code Description
601 Insufficient balance to send SMS.
602 Expired user account. You need to contact your account manager.
603 Banned user account. You need to contact your account manager.
604 This route is currently unavailable. You can send SMS from this route only between 9 AM - 9 PM.
605 Incorrect scheduled time. required format YYYY/MM/DD HH:MM
606 SMS is too long. message length must be '2907' characters
607 For API : Maximum 500 Number In One Request
608 Maximum 20 Request
609 For XML : Maximum 50000 Number In One Request