https://app.wamm.pro/api/send?number=40734566xxx&type=text&message=test+message&instance_id=609ACF283XXXX&access_token=64cf851690xxx&time=YYYY-MM-DD+HH:ii
number | 40734566xxx |
type | text |
message | test message |
instance_id | 609ACF283XXXX |
access_token | 64cf851690xxx |
time |
( optional ) Date and time when the message will be sent; if not specified, the message will be sent immediately. Allowed formats: - YYYY-MM-DD+HH:ii, YYYY-MM-DD+HH:ii:ss, example: time=2023-12-25+09:55 - now+HH:ii, example: time=now+09:55 |
https://app.wamm.pro/api/send?number=40712345xx&type=media&message=test+message&media_url=https%3A%2F%2Fexample.com%2Ffile_test.jpg&instance_id=609ACF283XXXX&access_token=64cf851690xxx&time=YYYY-MM-DD+HH:ii
number | 40734566xxx |
type | media |
message | test message |
media_url | https://example.com/file_test.jpg |
filename (Just use for send document) | file_test.pdf |
instance_id | 609ACF283XXXX |
access_token | 64cf851690xxx |
time |
( optional ) Date and time when the message will be sent; if not specified, the message will be sent immediately. Allowed formats: - YYYY-MM-DD+HH:ii, YYYY-MM-DD+HH:ii:ss, example: time=2023-12-25+09:55 - now+HH:ii, example: time=now+09:55 |
https://app.wamm.pro/api/send?number=40712345xx&type=template&template=65186e3f09XXX&instance_id=609ACF283XXXX&access_token=64cf851690xxx&replace={"param1":"value1","param2":"value2","param3":"value3"}&time=YYYY-MM-DD+HH:ii
number | 407345663xxx |
type | template |
template |
Template Id (Ex: 65186e3f09XXX)
As alternative, you can use Template name instead Template Id. In this case, the Template name must be encoded using tools as https://www.urlencoder.org/ (Ex: template=My%20template%20name) |
instance_id | 609ACF283XXXX |
access_token | 64cf851690xxx |
replace | ( optional ) max 3 replace params, format:JSON; must be encoded using tools as https://www.urlencoder.org/) |
time |
( optional ) Date and time when the message will be sent; if not specified, the message will be sent immediately. Allowed formats: - YYYY-MM-DD+HH:ii, YYYY-MM-DD+HH:ii:ss, example: time=2023-12-25+09:55 - now+HH:ii, example: time=now+09:55 |
https://app.wamm.pro/api/addtolist/?number=40734566xxx&wamm_newslist_id=64997e0103xxx&instance_id=609ACF283XXXX&access_token=64cf851690xxx¶ms={"param1":"value1","param2":"value2","param3":"value3"}
number | 40734566xxx |
wamm_newslist_id | 64997e0103xxx |
instance_id | 609ACF283XXXX |
access_token | 64cf851690xxx |
params | ( optional , max 3 params, format:JSON; must be encoded using tools as https://www.urlencoder.org/) |
https://app.wamm.pro/api/delfromlist/?number=40734566xxx&wamm_newslist_id=64997e0103xxx&instance_id=609ACF283XXXX&access_token=64cf851690xxx
(given list)
https://app.wamm.pro/api/delfromlist/?number=40734566xxx&instance_id=609ACF283XXXX&access_token=64cf851690xxx
(all lists)
number | 40734566xxx |
wamm_newslist_id ( optional ; if missing, number will be removed from all your lists) | 64997e0103xxx |
instance_id | 609ACF283XXXX |
access_token | 64cf85169XXX |