/ 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}
URL: http://wasuite.com