v1
latestOpenAPI 3.1.02026-07-1413113265.9 KBstory
[BETA] set the Status privacy
Configure who can see Status posts from this instance. Set type to "all" for all contacts, "allow" to restrict visibility to a specific list of contacts, or "deny" to exclude specific contacts. ⚠️ This is a persistent account-level setting and is synchronized to all linked devices. Note: This endpoint is currently in beta and may change without notice.
post/instances/{id}/client/action/set-status-privacy
Path parameters
idinteger required
Instance ID
Request body
Example request
{
"type": "allow",
"contacts": [
"+491234567890",
"491234567891@c.us"
]
}Response
Status privacy updated successfully
Example response
{
"status": "success",
"instanceId": "1",
"data": {
"updated": true,
"type": "allow",
"contactCount": 2
},
"links": {
"self": "https://waapi.app/api/v1/instances/1/client/action/set-status-privacy"
}
}