/ Published in: HTML
                    
                                        
Send Single/Whatsapp Bulk Message
To send any single/bulk message, issue a GET or POST request to http://wasuite.com/API/index.php with the following fields:
key - your wasuite api key
action - singlemsg/bulkmsg
campaign - campaign name (Whatsapp Bulk Marketing)
to - receiver number (For Bulk: comma separated list or new line)
Text Message Parameter:-
text - text message (URL-encodes string)
Photo Message Parameter:-
photo - photo file contents via multipart/form-data
photocaption - photo caption (optional, URL-encodes string)
Video Message Parameter:-
video - video file contents via multipart/form-data
videocaption - video caption (optional, URL-encodes string)
Vcard Message Parameter:-
vcname - vcard name (URL-encodes string)
vcno - vcard number (URL-encodes string)
vcemail - vcard email (optional, URL-encodes string)
vcaddress - vcard address (optional, URL-encodes string)
vcurl - vcard url (optional, URL-encodes string)
e.g: GET Request http://wasuite.com/API/index.php?key=yourapikey&action=singlemsg&to=60191234567&text=yourtextmessage
json return - {"STATUS":"SUCCESS","APITX":APITRANSACTIONID,"COST":TOTALMESSAGECOST,"BALANCE":BALANCEAFTERSUBMIT}
                To send any single/bulk message, issue a GET or POST request to http://wasuite.com/API/index.php with the following fields:
key - your wasuite api key
action - singlemsg/bulkmsg
campaign - campaign name (Whatsapp Bulk Marketing)
to - receiver number (For Bulk: comma separated list or new line)
Text Message Parameter:-
text - text message (URL-encodes string)
Photo Message Parameter:-
photo - photo file contents via multipart/form-data
photocaption - photo caption (optional, URL-encodes string)
Video Message Parameter:-
video - video file contents via multipart/form-data
videocaption - video caption (optional, URL-encodes string)
Vcard Message Parameter:-
vcname - vcard name (URL-encodes string)
vcno - vcard number (URL-encodes string)
vcemail - vcard email (optional, URL-encodes string)
vcaddress - vcard address (optional, URL-encodes string)
vcurl - vcard url (optional, URL-encodes string)
e.g: GET Request http://wasuite.com/API/index.php?key=yourapikey&action=singlemsg&to=60191234567&text=yourtextmessage
json return - {"STATUS":"SUCCESS","APITX":APITRANSACTIONID,"COST":TOTALMESSAGECOST,"BALANCE":BALANCEAFTERSUBMIT}
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<form action="http://wasuite.com/API/index.php" method="post" enctype="multipart/form-data">
<input type="text" name="key" value="Your API Key">
<input type="text" name="action" value="singlemsg">
<input type="text" name="to" value="60191234567,60123456789,6019xxxxxx......">
<input type="file" name="photo">
<input type="file" name="video">
<input type="submit" name="submit" value="Submit">
</form>
URL: http://wasuite.com
Comments
 Subscribe to comments
                    Subscribe to comments
                
                