API

Integration was never so easy

Our API opens the door to billions of subscribers to send messages by their Apps.

Looking for detailed Developer Guide ?
Java
Java
Java
Java
Java
Java

Services powered by our API

If you are going to build your own applications and your requirement is bulk SMS, Branded SMS, masked SMS and you need a super-fast response and better grip in your application then our PHP rest API is very advance and good. Our docs are such friendly that a normal user can also integrate API without having deep developer knowledge. Our rest API is the best choice for mass submission.

    $url = "https://lifetimesms.com/plain";

    $parameters = [
        "api_token" => "Your API Token",
        "api_secret" => "Your API Secret",
        "to" => "92xxxxxxxxxx",
        "from" => "Lifetimesms",
        "message" => "Testing SMS",
    ];

    $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 ;
  $url = "https://lifetimesms.com/xml";

    $parameters = [
        "api_token" => "Your API Token",
        "api_secret" => "Your API Secret",
        "to" => "92xxxxxxxxxx",
        "from" => "Lifetimesms",
        "message" => "Testing SMS",
    ];

    $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 ;
  $url = "https://lifetimesms.com/personalized";

    $data = array(
        array("to" => "92xxxxxxxxxx", "message" => "testing"),
        array("to" => "92xxxxxxxxxx", "message" => "testing"),
    );

    $data = json_encode($data);

    $parameters = [
        "api_token" => "Your API Token",
        "api_secret" => "Your API Secret",
        "from" => "Lifetimesms",
        "data" => $data,
    ];

    $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 ;
  $url = "https://lifetimesms.com/otp";

    $data = array("key" => "value", "code" => "123456", "variable","value of variable");

    $data = json_encode($data);

    $parameters = [
        "api_token" => "Your API Token",
        "api_secret" => "Your API Secret",
        "to" => "9231xxxxxxx",
        "event_id" => "xx",
        "data" => $data,
    ];

    $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 ;
  $url = "https://lifetimesms.com/voice-sms";

    $parameters = [
        "api_token" => "Your API Token",
        "api_secret" => "Your API Secret",
        "to" => "92xxxxxxxxxx",
        "from" => "Lifetimesms",
        "voice_id" => 1,
    ];

    $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 ;
  $url = "https://lifetimesms.com/voice-request";

    // For File Upload
    $path = "Path of voice sms file";
    $curl_file = new \CURLFile(realpath($path));

    $parameters = [
        "api_token" => "Your API Token",
        "api_secret" => "Your API Secret",
        "title" => "New Voice Request",
        "file" => $curl_file,
    ];

    // For Text To Speech
    $text_to_speech = "This is text to speech for demo.";

    $parameters = [
        "api_token" => "Your API Token",
        "api_secret" => "Your API Secret",
        "title" => "New Voice Request",
        "text_to_speech" => $text_to_speech,
    ];

    set_time_limit(0);
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,  2);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible;)");
    curl_setopt($ch, CURLOPT_HTTPHEADER,array("Content-Type: multipart/form-data"));
    curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1);
    curl_setopt($ch, CURLOPT_FORBID_REUSE, 1);
    curl_setopt($ch, CURLOPT_TIMEOUT, 100);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $parameters);
    $result = curl_exec ($ch);
    curl_close($ch);

    echo $response ;
  $url = "https://lifetimesms.com/voice-status";

    $parameters = [
        "api_token" => "Your API Token",
        "api_secret" => "Your API Secret",
        "voice_id" => 1,
    ];

    $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 ;
  $url = "https://lifetimesms.com/text-to-speech";
    $parameters = [
        "api_token" => "Your API Token",
        "api_secret" => "Your API Secret",
        "to" => 923107558811,
        "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 ;
    $url = "https://lifetimesms.com/network-lookup";

$parameters = [
    "api_token" => "Your API Token",
    "api_secret" => "Your API Secret",
    "phone_number" => "xxxxxxxxx",
];

$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 ;
  $url = "https://lifetimesms.com/get-hlr-details";

$parameters = [
    "api_token" => "Your API Token",
    "api_secret" => "Your API Secret",
    "lookup_id" => "xxxxxxxxx",
];

$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 ;
    $url = "https://lifetimesms.com/balance-inquiry";

    $parameters = [
        "api_token" => "Your API Token",
        "api_secret" => "Your API Secret",
    ];

    $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 ;
  $url = "https://lifetimesms.com/delivery-inquiry";

    $parameters = [
        "api_token" => "Your API Token",
        "api_secret" => "Your API Secret",
        "messageid" => "xxxxxxxxx,xxxxxxxxx",
    ];

    $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 ;

Developer HUB

We are offering simple http API's that can be connected with any kind of app and programming language like php,dot net , java , vb.net , ruby etc. we have arranged Several examples of different plateforms for develoer . Please Have a look ...!!

Developer HUB





Integration with Hundreds of Apps

SMS marketing and voice messages are the best ways to promote a business or service. As we all know, the number of mobile users today is much more than the viewers. With professional bulk SMS services, we can send business-related SMS to many people. This is the most suitable and fastest way to promote your brand visibility.We are providing a mass text messaging service in Pakistan for many years. We can send SMS from the company name, send SMS text messages, send SMS from pc and can send SMS without mobile number. We use the latest sources to send bulk messages to people in a professional way. We are the best and cheap bulk SMS gateway provider in Pakistan. We use the latest SMS portal and SMS gateway server for bulk SMS campaigns. We always provide top-notch SMS campaign service in Pakistan at affordable rates. You can reduce the gap between customers and your product by using these kinds of services. It is very important to contact a trusted company for SMS marketing of your business. We are a well-reputed company in Pakistan with many years of experience in the related field. We use the latest bulk SMS API and bulk SMS software for reliable results. We can send PTA branded SMS, group SMS and Ufone branded SMS. We are an expert in mass text messaging, group SMS, business SMS, send SMS from pc and SMS gateway server. You can contact us for reliable and affordable bulk SMS services in Pakistan. We will promote your business with our SMS messaging service in a very short period. Thousands of pre-ready examples & plugins/packages & modules for one-click integration.

Our Clients

Zindgi PVT LTD Travel Port international Travel Egency Shell Oil Company ProQuest Medical Company Gets Pharma Hobotech Electronics Lipton Tea Dawat Hotel Allied School System xpress Post Al-shifa Hospital Disney Gujrawala Creative Cube Medical PANWORLD Medical Chanan school system Future Scientific Society SMT School and College BMS ISO certification in Karachi MDC Medical diagnostic center LAB Mattanys Restorent Comsats College NgTech Best Colsultantas NACSIT College Platinum.pk Online store of Hands bags Dar-Arqam-School PizzaOne Karachi Food GEHF Housing society of GEPCO IVYFABRICS Flah Trust First Aid Medical Complex Uniquechk shopping mall Al-muzamal JOBS MediaMount Polio Heath Worker Doctors Hospital Lahore Niazi Express Bus Service MGFA Builty Needles Online jewlery Store Hajisons Agricultural Firm Wormwhole Online software house Allied School Royal Group of Industry Milange Shopping Mall Moon Heath Care Center Savour Foods . Food in Karachi Mirchawala School college and accademy AS Projects DeliveryTen Food Delivery GonPacci Resturent A AM Power . Parts of Auto bikes Arain Cargo Trustline Travel Agency