POST
/
chat
/
updatePrivacySettings
/
{instance}
curl --request POST \
  --url https://api.l2msg.com/whatsapp/chat/updatePrivacySettings/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "readreceipts": "all",
  "profile": "all",
  "status": "all",
  "online": "all",
  "last": "all",
  "groupadd": "all"
}'

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

Name of the instance

Body

application/json
readreceipts
enum<string>
required
Available options:
all,
none
profile
enum<string>
required
Available options:
all,
contacts,
contact_blacklist,
none
status
enum<string>
required
Available options:
all,
contacts,
contact_blacklist,
none
online
enum<string>
required
Available options:
all,
match_last_seen
last
enum<string>
required
Available options:
all,
contacts,
contact_blacklist,
none
groupadd
enum<string>
required
Available options:
all,
contacts,
contact_blacklist