PHP Sample Code

        
          <?php

            $email = "your multitexter registered email ";
            $password = "Your password";
            $message = "message content";
            $sender_name = "Your sender name";
            $recipients = "mobile numbers seperated by comma e.9 2348028828288,234900002000,234808887800";
            $forcednd = "set to 1 if you want DND numbers to ";

            $data = array("email" => $email, "password" => $password,"message"=>$message,"sender_name"=>$sender_name,"recipients"=>$recipients,"forcednd"=>$forcednd);
            $data_string = json_encode($data);
            $ch = curl_init('https://app.multitexter.com/v2/app/sms');
            curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
            curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
            curl_setopt($ch, CURLOPT_HTTPHEADER, array(
                'Content-Type: application/json',
                'Content-Length: ' . strlen($data_string))
            );
            $result = curl_exec($ch);
            $res_array = json_decode($result);
            print_r($res_array);

          ?>