Skip to main content

Privacy

View privacy settings for a WhatsApp session.

Get Privacy Settings

Retrieve the current privacy settings for the connected account.

GET /api/v1/sessions/{session_id}/privacy/settings

Response

{
"settings": [
{
"category": "last",
"value": "contacts"
},
{
"category": "online",
"value": "all"
},
{
"category": "profile",
"value": "contacts"
},
{
"category": "status",
"value": "contacts"
},
{
"category": "group_add",
"value": "contacts"
},
{
"category": "read_receipts",
"value": "all"
}
]
}

Privacy Categories

CategoryDescription
lastWho can see your last seen time
onlineWho can see when you're online
profileWho can see your profile photo
statusWho can see your status updates
group_addWho can add you to groups
read_receiptsWhether read receipts are enabled

Privacy Values

ValueDescription
allEveryone
contactsMy contacts only
noneNobody
contact_blacklistContacts except specific people
match_last_seenMatch last seen setting

Example

curl http://localhost:3451/api/v1/sessions/my-session/privacy/settings \
-H "Authorization: Bearer YOUR_TOKEN"