Return to Snippet

Revision: 71029
at December 4, 2016 15:30 by WASUITE


Initial Code
<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>

Initial URL
http://wasuite.com

Initial Description
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}

Initial Title
Send Bulk Whatsapp Message Via Wasuite.com API

Initial Tags

                                

Initial Language
HTML