APIDoc

Did You Know?

Source Code

Bulk WhatsApp API (GET)

Hajana One Bulk WhatsApp API Support both GET method and POST method.You can integrate it easily and use for your all kind of Softwares/Business.The below guide lines will help you.

Base URL:

                                           http://www.hajanaone.com/api/send-wa.php
                                    

Important Parameters

Follow the following parameters during SMS API Integration.

     
Parameters Value Requeired Discription
apikey Ard36hfb Yes Get your api key from your Hajana One Dashboard.
phone 923548125478 Yes Add phone num with Country code. EX: 923****25 don't use + sign and 00.
message message contant Yes Enter your message content here. If Message type is text then type your message alse enter URL of other type
type message type Yes Message type are text,image,audio,video and documents all Kind of files like PDF,Zip Docx,Exe Xlsx and pptx

Note:

Dear users please note if your message type is text then type your message else paste complete URL any other type of message like audio, video or any other documents.

Sample Code

                                        
                                            <?php
                                            
                                           $apikey   =    "ZJN*****vB";
                                           $phone   =    "923001234567";
                                           $message  =    "Test WhatsApp Messages";
                                           $type  =    "Message type EX: text, audio, video and document";
                                           //Sending SMS
                                           
                                            $url='https://www.hajanaone.com/api/send-wa.php?apikey='.$apikey.'&phone='.$phone.'&message='.urlencode($message).'&type='.$type;
                               
                                                $ch=curl_init();
                                                curl_setopt($ch, CURLOPT_URL,$url);
                                                curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
                                                curl_setopt($ch, CURLOPT_HEADER, 0);
                                                $result = curl_exec ($ch);
                                                echo $result;
                                                
                                            ?>
                                        
                                    

Complete API URL

                                          http://www.hajanaone.com/api/send-wa.php?apikey=e35******vt6&phone=92******465&message=Test.&type=text