Skip to main content
PUT
/
users
/
me
/
privacy
curl --request PUT \
  --url https://wsapi.chat/users/me/privacy \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Instance-Id: <x-instance-id>' \
  --data '
{
  "setting": "last",
  "value": "contacts"
}
'
{
  "groupAdd": "<string>",
  "lastSeen": "<string>",
  "status": "<string>",
  "profile": "<string>",
  "readReceipts": "<string>",
  "online": "<string>",
  "callAdd": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Instance or customer-level API key. Either the instance's own API key or the customer's API key is accepted. Must be paired with the X-Instance-Id header to identify the target instance.

Headers

X-Instance-Id
string
default:{{instanceId}}
required

The ID of the WhatsApp instance to use

Body

application/json
setting
enum<string>
required

The privacy setting to update

Available options:
groupadd,
last,
status,
profile,
readreceipts,
online,
calladd
value
enum<string>
required

The privacy level to set

Available options:
all,
contacts,
contact_blacklist,
match_last_seen,
known,
none

Response

Updated privacy settings

groupAdd
string

Who can add you to groups

lastSeen
string

Who can see your last seen

status
string

Who can see your status

profile
string

Who can see your profile picture

readReceipts
string

Whether read receipts are enabled

online
string

Who can see when you are online

callAdd
string

Who can call you