Did You Know?

Source Code

Single Voive SMS API (GET)

Hajana One SMS API Support both GET method and POST method.You can integrate it easily and use for your Business.The below guide lines will help you.

Base URL


Important Parameters

Follow the following parameters during SMS API Integration.

Parameters Requeired Where it
apikey Yes Get your api key from your Dashboard.
max_try Yes Define maximum retries 0-2
voice_id Yes Enter voice id
phone Yes Enter phone number with comma (,) EX : 923548645283,923564745343
oprater id Optional You can add oprater id.

Sample Code

                                           $apikey   =    "ZJN*****vB";
                                           $maxtry   =    "2";
                                           $voiceid   =    "144";
                                           $phone  =    "923001234567,923451234567";
                                           //Sending SMS
                                                curl_setopt($ch, CURLOPT_URL,$url);
                                                curl_setopt($ch, CURLOPT_HEADER, 0);
                                                $result = curl_exec ($ch);
                                                echo $result;

Complete API URL