sparksender.com
Open in
urlscan Pro
2606:4700:3037::6815:44ab
Public Scan
URL:
https://sparksender.com/
Submission: On November 13 via api from US — Scanned from DE
Submission: On November 13 via api from US — Scanned from DE
Form analysis
1 forms found in the DOMPOST
<form class="contact-form needs-validation" method="post" novalidate="">
<div class="messages"></div>
<div class="row gx-4">
<div class="col-md-8 offset-lg-2">
<div class="form-select-wrapper mb-4">
<select class="form-select js-select2-multi js-example-responsiv select2-hidden-accessible" multiple="" id="country_select" name="country_select" required="" data-select2-id="select2-data-country_select" tabindex="-1" aria-hidden="true">
<option value="1">Afghanistan</option>
<option value="2">Aland Islands</option>
<option value="3">Albania</option>
<option value="4">Algeria</option>
<option value="5">American Samoa</option>
<option value="6">Andorra</option>
<option value="7">Angola</option>
<option value="8">Anguilla</option>
<option value="10">Antigua and Barbuda</option>
<option value="11">Argentina</option>
<option value="12">Armenia</option>
<option value="13">Aruba</option>
<option value="14">Australia</option>
<option value="15">Austria</option>
<option value="16">Azerbaijan</option>
<option value="17">Bahamas</option>
<option value="18">Bahrain</option>
<option value="19">Bangladesh</option>
<option value="21">Belarus</option>
<option value="22">Belgium</option>
<option value="23">Belize</option>
<option value="24">Benin</option>
<option value="25">Bermuda</option>
<option value="27">Bolivia</option>
<option value="28">Bonaire, Sint Eustatius and Saba</option>
<option value="30">Botswana</option>
<option value="31">Bouvet Island</option>
<option value="32">Brazil</option>
<option value="33">British Indian Ocean Territory</option>
<option value="34">Brunei Darussalam</option>
<option value="35">Bulgaria</option>
<option value="36">Burkina Faso</option>
<option value="37">Burundi</option>
<option value="38">Cambodia</option>
<option value="40">Canada</option>
<option value="41">Cape Verde</option>
<option value="42">Cayman Islands</option>
<option value="43">Central African Republic</option>
<option value="44">Chad</option>
<option value="45">Chile</option>
<option value="46">China</option>
<option value="48">Cocos (Keeling) Islands</option>
<option value="50">Comoros</option>
<option value="51">Congo</option>
<option value="52">Congo, Democratic Republic of the Congo</option>
<option value="53">Cook Islands</option>
<option value="54">Costa Rica</option>
<option value="55">Cote D'Ivoire</option>
<option value="56">Croatia</option>
<option value="57">Cuba</option>
<option value="58">Curacao</option>
<option value="59">Cyprus</option>
<option value="61">Denmark</option>
<option value="62">Djibouti</option>
<option value="63">Dominica</option>
<option value="64">Dominican Republic</option>
<option value="65">Ecuador</option>
<option value="66">Egypt</option>
<option value="67">El Salvador</option>
<option value="68">Equatorial Guinea</option>
<option value="69">Eritrea</option>
<option value="70">Estonia</option>
<option value="71">Ethiopia</option>
<option value="72">Falkland Islands (Malvinas)</option>
<option value="73">Faroe Islands</option>
<option value="74">Fiji</option>
<option value="75">Finland</option>
<option value="76">France</option>
<option value="77">French Guiana</option>
<option value="78">French Polynesia</option>
<option value="79">French Southern Territories</option>
<option value="80">Gabon</option>
<option value="81">Gambia</option>
<option value="82">Georgia</option>
<option value="83" selected="" data-select2-id="select2-data-2-e1p9">Germany</option>
<option value="84">Ghana</option>
<option value="85">Gibraltar</option>
<option value="86">Greece</option>
<option value="87">Greenland</option>
<option value="88">Grenada</option>
<option value="89">Guadeloupe</option>
<option value="90">Guam</option>
<option value="91">Guatemala</option>
<option value="92">Guernsey</option>
<option value="93">Guinea</option>
<option value="94">Guinea-Bissau</option>
<option value="95">Guyana</option>
<option value="96">Haiti</option>
<option value="97">Heard Island and Mcdonald Islands</option>
<option value="98">Holy See (Vatican City State)</option>
<option value="99">Honduras</option>
<option value="100">Hong Kong</option>
<option value="101">Hungary</option>
<option value="102">Iceland</option>
<option value="103">India</option>
<option value="104">Indonesia</option>
<option value="105">Iran, Islamic Republic of</option>
<option value="106">Iraq</option>
<option value="107">Ireland</option>
<option value="108">Isle of Man</option>
<option value="109">Israel</option>
<option value="110">Italy</option>
<option value="111">Jamaica</option>
<option value="112">Japan</option>
<option value="113">Jersey</option>
<option value="114">Jordan</option>
<option value="115">Kazakhstan</option>
<option value="116">Kenya</option>
<option value="117">Kiribati</option>
<option value="118">Korea, Democratic People's Republic of</option>
<option value="119">Korea, Republic of</option>
<option value="120">Kosovo</option>
<option value="121">Kuwait</option>
<option value="122">Kyrgyzstan</option>
<option value="123">Lao People's Democratic Republic</option>
<option value="124">Latvia</option>
<option value="125">Lebanon</option>
<option value="126">Lesotho</option>
<option value="127">Liberia</option>
<option value="128">Libyan Arab Jamahiriya</option>
<option value="129">Liechtenstein</option>
<option value="130">Lithuania</option>
<option value="131">Luxembourg</option>
<option value="132">Macao</option>
<option value="133">Macedonia, the Former Yugoslav Republic of</option>
<option value="134">Madagascar</option>
<option value="135">Malawi</option>
<option value="136">Malaysia</option>
<option value="137">Maldives</option>
<option value="138">Mali</option>
<option value="139">Malta</option>
<option value="140">Marshall Islands</option>
<option value="141">Martinique</option>
<option value="142">Mauritania</option>
<option value="143">Mauritius</option>
<option value="144">Mayotte</option>
<option value="145">Mexico</option>
<option value="146">Micronesia, Federated States of</option>
<option value="147">Moldova, Republic of</option>
<option value="148">Monaco</option>
<option value="149">Mongolia</option>
<option value="150">Montenegro</option>
<option value="151">Montserrat</option>
<option value="152">Morocco</option>
<option value="153">Mozambique</option>
<option value="154">Myanmar</option>
<option value="155">Namibia</option>
<option value="156">Nauru</option>
<option value="157">Nepal</option>
<option value="158">Netherlands</option>
<option value="159">Netherlands Antilles</option>
<option value="160">New Caledonia</option>
<option value="161">New Zealand</option>
<option value="162">Nicaragua</option>
<option value="163">Niger</option>
<option value="164">Nigeria</option>
<option value="165">Niue</option>
<option value="166">Norfolk Island</option>
<option value="167">Northern Mariana Islands</option>
<option value="168">Norway</option>
<option value="169">Oman</option>
<option value="170">Pakistan</option>
<option value="171">Palau</option>
<option value="172">Palestinian Territory, Occupied</option>
<option value="173">Panama</option>
<option value="174">Papua New Guinea</option>
<option value="175">Paraguay</option>
<option value="176">Peru</option>
<option value="177">Philippines</option>
<option value="178">Pitcairn</option>
<option value="179">Poland</option>
<option value="180">Portugal</option>
<option value="181">Puerto Rico</option>
<option value="182">Qatar</option>
<option value="183">Reunion</option>
<option value="184">Romania</option>
<option value="185">Russian Federation</option>
<option value="186">Rwanda</option>
<option value="187">Saint Barthelemy</option>
<option value="188">Saint Helena</option>
<option value="189">Saint Kitts and Nevis</option>
<option value="190">Saint Lucia</option>
<option value="191">Saint Martin</option>
<option value="192">Saint Pierre and Miquelon</option>
<option value="193">Saint Vincent and the Grenadines</option>
<option value="194">Samoa</option>
<option value="195">San Marino</option>
<option value="196">Sao Tome and Principe</option>
<option value="197">Saudi Arabia</option>
<option value="198">Senegal</option>
<option value="199">Serbia</option>
<option value="200">Serbia and Montenegro</option>
<option value="201">Seychelles</option>
<option value="202">Sierra Leone</option>
<option value="203">Singapore</option>
<option value="204">Sint Maarten</option>
<option value="205">Slovakia</option>
<option value="206">Slovenia</option>
<option value="207">Solomon Islands</option>
<option value="208">Somalia</option>
<option value="209">South Africa</option>
<option value="210">South Georgia and the South Sandwich Islands</option>
<option value="211">South Sudan</option>
<option value="212">Spain</option>
<option value="213">Sri Lanka</option>
<option value="214">Sudan</option>
<option value="215">Suriname</option>
<option value="216">Svalbard and Jan Mayen</option>
<option value="217">Swaziland</option>
<option value="218">Sweden</option>
<option value="219">Switzerland</option>
<option value="220">Syrian Arab Republic</option>
<option value="221">Taiwan, Province of China</option>
<option value="222">Tajikistan</option>
<option value="223">Tanzania, United Republic of</option>
<option value="224">Thailand</option>
<option value="225">Timor-Leste</option>
<option value="226">Togo</option>
<option value="227">Tokelau</option>
<option value="228">Tonga</option>
<option value="229">Trinidad and Tobago</option>
<option value="230">Tunisia</option>
<option value="231">Turkey</option>
<option value="232">Turkmenistan</option>
<option value="233">Turks and Caicos Islands</option>
<option value="234">Tuvalu</option>
<option value="235">Uganda</option>
<option value="236">Ukraine</option>
<option value="237">United Arab Emirates</option>
<option value="238">United Kingdom</option>
<option value="239">United States</option>
<option value="240">United States Minor Outlying Islands</option>
<option value="241">Uruguay</option>
<option value="242">Uzbekistan</option>
<option value="243">Vanuatu</option>
<option value="244">Venezuela</option>
<option value="245">Viet Nam</option>
<option value="246">Virgin Islands, British</option>
<option value="247">Virgin Islands, U.s.</option>
<option value="248">Wallis and Futuna</option>
<option value="250">Yemen</option>
<option value="251">Zambia</option>
<option value="252">Zimbabwe</option>
</select><span class="select2 select2-container select2-container--default" dir="ltr" data-select2-id="select2-data-1-m8qo" style="width: 568.875px;"><span class="selection"><span
class="select2-selection select2-selection--multiple select2-selection--clearable" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="-1" aria-disabled="false"><button type="button" class="select2-selection__clear"
tabindex="-1" title="Remove all items" aria-label="Remove all items" aria-describedby="select2-country_select-container" data-select2-id="select2-data-4-tnx8"><span aria-hidden="true">×</span></button>
<ul class="select2-selection__rendered" id="select2-country_select-container">
<li class="select2-selection__choice" title="Germany" data-select2-id="select2-data-3-efen"><button type="button" class="select2-selection__choice__remove" tabindex="-1" title="Remove item" aria-label="Remove item"
aria-describedby="select2-country_select-container-choice-6i77-83"><span aria-hidden="true">×</span></button><span class="select2-selection__choice__display" id="select2-country_select-container-choice-6i77-83">Germany</span></li>
</ul><span class="select2-search select2-search--inline"><textarea class="select2-search__field" type="search" tabindex="0" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list"
autocomplete="off" aria-label="Search" aria-describedby="select2-country_select-container" placeholder="" style="width: 0.75em;"></textarea></span>
</span></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>
<div class="valid-feedback"> Looks good! </div>
<div class="invalid-feedback"> Please select a department. </div>
<script>
$(document).ready(function() {
$(".js-select2-multi").select2({
placeholder: "Select Countries...",
allowClear: true
});
var countryValue = $('#country_select').select2("val");
$.ajax({
type: "GET",
url: "pricing_table.php",
data: {
countryValue: countryValue
},
success: function(response) {
//if request if made successfully then the response represent the data
$("#pricing_table").html(response);
}
});
$("#country_select").change(function() {
//Ajax Function to send a get request
var countryValue = $('#country_select').select2("val");
$.ajax({
type: "GET",
url: "pricing_table.php",
data: {
countryValue: countryValue
},
success: function(response) {
//if request if made successfully then the response represent the data
$("#pricing_table").html(response);
}
});
});
});
</script>
</div>
</div>
<div>
<div id="pricing_table">
<div class="col">
<div class="card">
<div class="card-body pt-2 pb-2">
<table class="table">
<thead>
<tr>
<th scope="col">Country</th>
<th scope="col" class="d-flex justify-content-end">Rates (USD) </th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row"><span class="mb-2 mb-md-0 d-flex align-items-center text-body">
<span class="me-5 flag flag-de"></span>
<a style="color: #60697b !important" class="fs-15" href="/SMS-Gateway-Api-To-Germany_DE.html">Germany</a>
</span>
</th>
<td class="text-right"><span class="text-body d-flex align-items-end justify-content-end">
<button type="button" class="text-primary fs-15" id="getPricing83" style="background: none; border: none;">Get Pricing</button>
</span></td>
</tr>
<script>
$("#getPricing83").click(function() {
var counrtyIDr = "83";
$('#modalBTNLoad').modal('show');
$("#modalDivLoad").html('<div class="col-md-12 text-center" style="padding: 128px 0px;"><i class="fas fa-circle-notch fa-spin" style="font-size:50px"></i></div>');
$.ajax({
type: 'POST',
url: 'pricing_requesting.php',
data: {
counrtyIDr: counrtyIDr
},
success: function(response) {
$("#modalDivLoad").html(response);
}
});
return false;
});
</script>
</tbody>
</table>
</div>
<!--/.card-body -->
</div>
<!--/.card -->
</div>
<div class="modal fade modal-under-nav modal-search" id="modalBTNLoad" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content" id="modalDivLoad" style="">
<div class="col-md-12 text-center" style="padding: 128px 0px;">
<i class="fas fa-circle-notch fa-spin" style="font-size:50px"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12 d-flex justify-content-center flex-column align-items-center mt-5">
<span><a href="https://cp.sparksender.com/register.php?type=smr" class="btn btn-primary rounded-pill bg-primary">Register Free Trail</a></span>
</div>
<!-- /column -->
</div>
<!-- /.row -->
</form>
Text Content
SPARK SENDER * Home * Pricing * Documentation Login SPARK SENDER * Home * Pricing * Documentation Login SPARK SENDER * Home * Pricing * Documentation Privacy Policy Terms of Service All rights reserved © Copyright by Spark Global Solutions * Contact * INTERNATIONAL SMS GATEWAY & API Spark Sender International SMS gateway and API is a Cloud based platform that businesses use to send text messages to customers. Accessed via a dashboard, you load up contact lists and send, and track SMS campaigns. Especially useful for sending mass text message blasts and SMS marketing campaigns. Our quality of service has earned us collaborations with major SMS carriers all over the world, and we do not intend to stop there. Register Free Trail GROW YOUR BUSINESS WITH MESSENGER MARKETING Let's make something great together. We are trusted by over 5000+ clients. Join them by using our services and grow your business. We offer a reliable service through our direct relationships with local and global aggregators and networks.Our use of common API practices and our documentation (with code samples) makes implementing your SMS integration easy. SPARK SMS API Spark SMS API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. SPARK SMS GUI Our graphical user interface (GUI) is an interface through which a user interacts with electronic devices such as computers, hand-held devices and other appliances. BULK SMS SERVICE Achieve high throughput for promotional messages either through UI or APIs to submit multiple SMS in one single push. TRANSACTIONAL SMS Business can send transaction details, Status or confirmation at a critical activity in your organization through our SMS Gateway & API. OTP CHANNEL (AUTHENTICATION) Spark SMS provides dedicated OTP with priority routing -Password less Authentication (uses) -Validate the user’s number. MULTI LANGUAGE MESSAGING UNICODE messaging with any language support. PAY AS GO SMS PRICES FOR OVER 200+ COUNTRIES Afghanistan Aland Islands Albania Algeria American Samoa Andorra Angola Anguilla Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Belarus Belgium Belize Benin Bermuda Bolivia Bonaire, Sint Eustatius and Saba Botswana Bouvet Island Brazil British Indian Ocean Territory Brunei Darussalam Bulgaria Burkina Faso Burundi Cambodia Canada Cape Verde Cayman Islands Central African Republic Chad Chile China Cocos (Keeling) Islands Comoros Congo Congo, Democratic Republic of the Congo Cook Islands Costa Rica Cote D'Ivoire Croatia Cuba Curacao Cyprus Denmark Djibouti Dominica Dominican Republic Ecuador Egypt El Salvador Equatorial Guinea Eritrea Estonia Ethiopia Falkland Islands (Malvinas) Faroe Islands Fiji Finland France French Guiana French Polynesia French Southern Territories Gabon Gambia Georgia Germany Ghana Gibraltar Greece Greenland Grenada Guadeloupe Guam Guatemala Guernsey Guinea Guinea-Bissau Guyana Haiti Heard Island and Mcdonald Islands Holy See (Vatican City State) Honduras Hong Kong Hungary Iceland India Indonesia Iran, Islamic Republic of Iraq Ireland Isle of Man Israel Italy Jamaica Japan Jersey Jordan Kazakhstan Kenya Kiribati Korea, Democratic People's Republic of Korea, Republic of Kosovo Kuwait Kyrgyzstan Lao People's Democratic Republic Latvia Lebanon Lesotho Liberia Libyan Arab Jamahiriya Liechtenstein Lithuania Luxembourg Macao Macedonia, the Former Yugoslav Republic of Madagascar Malawi Malaysia Maldives Mali Malta Marshall Islands Martinique Mauritania Mauritius Mayotte Mexico Micronesia, Federated States of Moldova, Republic of Monaco Mongolia Montenegro Montserrat Morocco Mozambique Myanmar Namibia Nauru Nepal Netherlands Netherlands Antilles New Caledonia New Zealand Nicaragua Niger Nigeria Niue Norfolk Island Northern Mariana Islands Norway Oman Pakistan Palau Palestinian Territory, Occupied Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Poland Portugal Puerto Rico Qatar Reunion Romania Russian Federation Rwanda Saint Barthelemy Saint Helena Saint Kitts and Nevis Saint Lucia Saint Martin Saint Pierre and Miquelon Saint Vincent and the Grenadines Samoa San Marino Sao Tome and Principe Saudi Arabia Senegal Serbia Serbia and Montenegro Seychelles Sierra Leone Singapore Sint Maarten Slovakia Slovenia Solomon Islands Somalia South Africa South Georgia and the South Sandwich Islands South Sudan Spain Sri Lanka Sudan Suriname Svalbard and Jan Mayen Swaziland Sweden Switzerland Syrian Arab Republic Taiwan, Province of China Tajikistan Tanzania, United Republic of Thailand Timor-Leste Togo Tokelau Tonga Trinidad and Tobago Tunisia Turkey Turkmenistan Turks and Caicos Islands Tuvalu Uganda Ukraine United Arab Emirates United Kingdom United States United States Minor Outlying Islands Uruguay Uzbekistan Vanuatu Venezuela Viet Nam Virgin Islands, British Virgin Islands, U.s. Wallis and Futuna Yemen Zambia Zimbabwe × * ×Germany Looks good! Please select a department. Country Rates (USD) Germany Get Pricing Register Free Trail HEY DEVELOPER! HERE API SAMPLE CODE FOR YOUR APP * PHP - cURL * JavaScript - Fetch * JavaScript - Jquery * c-libcurl * NodeJs - Native * PHP - Guzzle * Phython Requests Copy Copy <?php // send_sms function in PHP - cURL function send_sms($client_id,$api_key,$sender_id,$message,$recipient_contact_no){ // curl post $curl = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://cp.sparksender.com/api/send/?"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "user_id={$client_id}&api_key={$api_key}&sender_id={$sender_id}&message={$message}&recipient_contact_no= {$recipient_contact_no}"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($curl); curl_close($curl); echo $response; } //set variables $client_id = "11XXXX"; // Replace your client ID $api_key = "121XXXXE"; // Replace your api key $sender_id = "DEMOXXX"; // Replace your sender id $message = "Hello"; // message $recipient_contact_no = "94xxxxxxx"; //recipient contact no // call send_sms function send_sms($client_id,$api_key,$sender_id,$message,$recipient_contact_no); ?> Copy Copy <script> // send_sms function in JavaScript - Fetch function send_sms(client_id,api_key,sender_id,message,recipient_contact_no){ var requestOptions = { method: "GET", redirect: "follow" }; fetch("https://cp.sparksender.com/api/send/?user_id="+client_id+"&api_key="+api_key+"&sender_id="+sender_id+"&message="+message+"&recipient_contact no="+recipient_contact_no, requestOptions) .then(response => response.text()) .then(result => document.write(result)) .catch(error => document.write("error", error)); } // set variables var client_id = "11XXXX"; // Replace your client I var api_key = "121XXXXE"; // Replace your api key var sender_id = "DEMOXXX; // Replace your sender id var message = "Hello"; // message var recipient_contact_no = "94xxxxxxx"; //recipient contact no // call send_sms function send_sms(client_id,api_key,sender_id,message,recipient_contact_no); </script> Copy Copy <script> // send_sms function in JavaScript - Jquery function send_sms(client_id,api_key,sender_id,message,recipient_contact_no){ var settings = { "url": "https://cp.sparksender.com/api/send/?user_id="+client_id+"&api_key="+api_key+"&sender_id="+sender_id+"&message="+message+"&recipient_contact no="+recipient_contact_no, "method": "GET", "timeout": 0, }; $.ajax(settings).done(function (response) { console.log(response); }); } // set variables var client_id = "11XXXX"; // Replace your client I var api_key = "121XXXXE"; // Replace your api key var sender_id = "DEMOXXX; // Replace your sender id var message = "Hello"; // message var recipient_contact_no = "94xxxxxxx"; //recipient contact no // call send_sms function send_sms(client_id,api_key,sender_id,message,recipient_contact_no); </script> Copy Copy // send_sms function in C - libcurl function send_sms(client_id,api_key,sender_id,message,recipient_contact_no){ CURL *curl; CURLcode res; curl = curl_easy_init(); if(curl){ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(curl, CURLOPT_URL, "https://cp.sparksender.com/api/send/?user_id=client_id&api_key=api_key&sender_id=sender_id&message=message&recipient_contact_no=recipient_contact_no"); curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https"); struct curl_slist *headers = NULL; curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers); res = curl_easy_perform(curl); } curl_easy_cleanup(curl); } // set variables int client_id = "1"; // Replace your client I ch api_key = "121XXXXE"; // Replace your api key int sender_id = "SparkDEMO"; // Replace your sender id ch message = "Hello"; // message ch recipient_contact_no = "94755555555"; //recipient contact no //call send_sms function send_sms(client_id,api_key,sender_id,message,recipient_contact_no); Copy Copy // send_sms function in NodeJs - Native function send_sms(client_id,api_key,sender_id,message,recipient_contact_no){ var https = require("follow-redirects").https; var fs = require("fs"); var options = { "method": "GET", "hostname": "cp.sparksender.com", "path": "/api/send/?user_id=client_id&api_key=api_key&sender_id=sender_id&message=message&recipient_contact_no=recipient_contact_no", "headers": { }, "maxRedirects": 20 }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end(); } // set variables var client_id = "11XXXX"; // Replace your client I var api_key = "121XXXXE"; // Replace your api key var sender_id = "DEMOXXX; // Replace your sender id var message = "Hello"; // message var recipient_contact_no = "94xxxxxxx"; //recipient contact no //call send_sms function send_sms(client_id,api_key,sender_id,message,recipient_contact_no); Copy Copy <?php // send_sms function in PHP - Guzzle function send_sms($client_id,$api_key,$sender_id,$message,$recipient_contact_no){ $client = new Client(); $request = new Request("GET", "https://cp.sparksender.com/api/send/?user_id=$client_id&api_key=$api_key&sender_id=$sender_id&message=$message&recipient_contact_no=$recipient_contact_no"); $res = $client->sendAsync($request)->wait(); echo $res->getBody(); } //set variables $client_id = "11XXXX"; // Replace your client I $api_key = "121XXXXE"; // Replace your api key $sender_id = "DEMOXXX"; // Replace your sender id $message = "Hello""; // message $recipient_contact_no = "94xxxxxxx"; //recipient contact no //call send_sms function send_sms($client_id,$api_key,$sender_id,$message,$recipient_contact_no); ?> Copy Copy // set variables client_id = "11XXXX"; // Replace your client I api_key = "121XXXXE""; // Replace your api key sender_id = "DEMOXXX; // Replace your sender id message = "Hello"; // message recipient_contact_no = "94xxxxxxx"; //recipient contact no // Send SMS in Phython Requests import requests url = "https://cp.sparksender.com/api/send/?user_id=client_id&api_key=api_key&sender_id=sender_id&message=message&recipient_contact_no=recipient_contact_no" payload={} headers = {} response = requests.request("GET", url, headers=headers, data=payload) print(response.text) Register Free Trail Privacy Policy Terms of Service © Copyright 2024 Spark Global Solutions All rights reserved.