Settings
Privacy Settings
Configure WhatsApp privacy settings for your instance.
POST
Overview
You can control who can see your profile information, online status, last seen, and who can add you to groups. These settings mirror the privacy options available in WhatsApp’s settings.Authentication
This endpoint requires authentication via theapikey header.
string
required
Your Evolution API key for authentication.
Path Parameters
string
required
The name of your WhatsApp instance.
Request Body
string
required
Read receipt visibility. Options:
all: Send read receipts to everyonenone: Don’t send read receipts (note: you also won’t see others’ read receipts)
string
required
Who can see your profile photo. Options:
all: Everyonecontacts: Only your contactscontact_blacklist: All except specific contactsnone: Nobody
string
required
Who can see your status updates. Options:
all: Everyonecontacts: Only your contactscontact_blacklist: All except specific contactsnone: Nobody
string
required
Who can see when you’re online. Options:
all: Everyonematch_last_seen: Same as your “Last Seen” setting
string
required
Who can see your last seen timestamp. Options:
all: Everyonecontacts: Only your contactscontact_blacklist: All except specific contactsnone: Nobody
string
required
Who can add you to groups. Options:
all: Everyone can add youcontacts: Only your contacts can add youcontact_blacklist: All except specific contacts can add you
Response
boolean
Whether the privacy settings were updated successfully.
object
The updated privacy settings.
Privacy Setting Explanations
Read Receipts
If you disable read receipts (
none), you also won’t be able to see when others read your messages. This is a WhatsApp limitation.Profile Photo, Status, and Last Seen
These settings control visibility for different aspects of your profile:- all: Everyone can see
- contacts: Only people in your contacts
- contact_blacklist: Everyone except specific blocked contacts
- none: Nobody can see
Online Status
The
match_last_seen option for online status means it follows the same privacy setting as your “Last Seen” timestamp.Group Add Permission
Control who can add you to groups without your permission:- all: Anyone can add you
- contacts: Only your contacts can add you
- contact_blacklist: Anyone except blocked contacts can add you
Get Current Privacy Settings
To fetch current privacy settings:Usage Notes
Privacy settings are stored in WhatsApp’s servers and persist across device changes and instance recreations.