Status

Update status privacy rules

Updates who can view statuses on the connected WUTS WhatsApp session. Use type 'contacts' for all contacts (list ignored), 'whitelist' to allow only the listed contacts, or 'blacklist' to exclude the listed contacts.

PUT
/status/privacy

Updates who can view statuses on the connected WUTS WhatsApp session. Use type 'contacts' for all contacts (list ignored), 'whitelist' to allow only the listed contacts, or 'blacklist' to exclude the listed contacts.

Authorization

bearerAuth
AuthorizationBearer <token>

Per-user API token (UUID v4) sent as Authorization: Bearer <token>. Identifies the tenant and user.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/status/privacy" \  -H "Content-Type: application/json" \  -d '{    "type": "blacklist",    "list": [      "5511999999999@s.whatsapp.net"    ]  }'
{  "success": true,  "type": "blacklist",  "count": 1,  "list": [    "5511999999999@s.whatsapp.net"  ]}
{  "success": false,  "error": {    "code": "invalid_request",    "message": "list cannot be empty for whitelist"  }}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}
{  "success": false,  "error": {    "code": "device_error",    "message": "failed to resolve user device"  }}
{  "success": false,  "error": {    "code": "privacy_update_failed",    "message": "failed to update status privacy"  }}
{  "success": false,  "error": {    "code": "device_disconnected",    "message": "whatsapp session is not connected"  }}
{  "success": false,  "error": {    "code": "privacy_update_timeout",    "message": "info query timed out"  }}