Get settings
getbanSettings
**banPhoneMask** - Regular expression on which bans on numbers will be sent **preBanMessage** - Warning message If it is set, a message will be sent before sending the ban.
Request test
Request URL
https://api.4whats.net/getbanSettings
Parameters
instanceid
|
|
token
|
{ "banPhoneMask": "^\\(?([0-9]{3})\\)?[-.●]?([0-9]{3})[-.●]?([0-9]{4})$", "preBanMessage": "Do not write to me, otherwise I will send you a ban", "set": false }
Request samples
Note : don't forget to URL encode your query
params like base64 or utf-8