No Setup Costs | No License Costs | No Any Hidden Charges |No Daily SMS Sening Limit
You Just Pay A Small Fee Per SMS | FREE API Integration Code
Payment Will Be 100% Advance
NTN, CNIC & Account Verification Will Be Compulsory To Use This Service.
* This is a local channel for terminating local/Pakistani origin companies/products/services traffic only,
terminating traffic of any international entity directly or indirectly is considered is a crime and can lead to
legal action for damages/losses incurred.
Do Email Us The Details After Payments With Transaction ID At info@ bulksms.com.pk .
Parameters | Description |
api_key | Login Your Account -> Go To API Docs. & Get Your Unique API KEY (Required). |
mobile | Recepient Mobile Number (Required). |
type | 1,2,3 [1= Pre Recorded, 2= Recorded, 3= Text To Speech] - (Required) |
audio | Audio ID When Type = 1 (Required) |
file | File Name [with location] When Type is = 2 (Required) |
text | Text To Play When Type is = 3 (Required) | format | Type is xml and json. Not Case sensitive. If set, the result will be returned according to the type specified (OPTIONAL). |
This system will call your user & speak your message to the receiver. Usually, this kind of service is used to send verification calls.
Sample URL:
https://sendpk.com/api/voicesms.php?api_key=YOUR_API_KEY
&mobile=923001234567&type=3&text=hello
Success Response:
<?php $url = "https://sendpk.com/api/voicesms.php"; $parameters = array( "api_key" => "YOUR_API_KEY", "type" => "3", "mobile" => "923001234567", "text" => "Your Verification Code is 12345", ); $ch = curl_init(); $timeout = 30; curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $parameters); curl_setopt($ch, CURLOPT_TIMEOUT, $timeout); $response = curl_exec($ch); curl_close($ch); echo $response ; ?>
This method allows you to send voice message to one or more destination addresses.
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://sendpk.com/api/voicesms.php", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => array("api_key" => "YOUR_API_KEY","mobile" => "923001234567,923121234567","type" => "2","file" => new CURLFILE("/C:/Users/Downloads/VoiceClip.mp3")), )); $response = curl_exec($curl); curl_close($curl); echo $response; ?>
Above HTTP API Code Are Fully Compatible With PHP , ASP , Dot Net , JSP , C# , XML , Java Integration
Company Reg No. 0139344 | NTN 6396779 ( BULK SMS MARKETING PRIVATE LIMITED) |
© Copyright 2014-2024 bulksms.com.pk | Search Engine Optimization Done By BulkSMS.Com.PK |