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"
}'
Update privacy settings
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"
}'
Your authorization key header
Name of the instance