WAMM API Documentation

Send Direct Message Api
GET Send Text
Send a text message to a phone number through the app
Params
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
GET Send Media & File
Send a media or file with message to a phone number through the app
Note: param media_url param must be encoded using tools as https://www.urlencoder.org/
Params
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
GET Send Template
Send a Template to a phone number through the app
Params
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
Update Contact list API
GET Add to contact list
Add a phone number to a contact list
Params
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/)
GET Remove from contact list(s)
Remove a phone number from contact list(s)
Params
number 40734566xxx
wamm_newslist_id ( optional ; if missing, number will be removed from all your lists) 64997e0103xxx
instance_id 609ACF283XXXX
access_token 64cf85169XXX