---
title: "[BETA] set privacy setting"
method: POST
path: "/instances/{id}/client/action/set-privacy-setting"
tags: ["client"]
---

# [BETA] set privacy setting

`POST /instances/{id}/client/action/set-privacy-setting`

Update a single privacy category. Allowed values depend on the category. Note: This endpoint is currently in beta and may change without notice.

## Path parameters

- `id` integer, required

## Request body

- object
  - `category` 'readReceipts' | 'lastSeen' | 'online' | 'profilePicture' | 'about' | 'groupAdd' | 'callAdd' | 'messages', required
  - `value` string, required — Allowed values: all, contacts, contact_blacklist, none, known, match_last_seen
  - `disallowedList` string[] — Required only when value is "contact_blacklist".

## Response `200`

Privacy setting updated successfully

- object
  - `instanceId` string — ID of the instance
  - `data` object
    - `settings` object — Account privacy settings
      - `readReceipts` 'all' | 'none'
      - `lastSeen` 'all' | 'contacts' | 'contact_blacklist' | 'none'
      - `online` 'all' | 'match_last_seen'
      - `profilePicture` 'all' | 'contacts' | 'contact_blacklist' | 'none'
      - `about` 'all' | 'contacts' | 'contact_blacklist' | 'none'
      - `groupAdd` 'all' | 'contacts' | 'contact_blacklist'
      - `callAdd` 'all' | 'known'
      - `messages` 'all' | 'contacts'
  - `status` 'success' | 'error'

## Other responses

- `401` — Unauthorized — invalid or missing bearer token
- `403` — Forbidden — insufficient permissions or account blocked
- `404` — Not found — instance does not exist or does not belong to you

---

[API](https://skmtc.net/waapi/apis/waapi-api.md) · [All operations](https://skmtc.net/waapi/apis/waapi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/waapi/waapi-api/revisions/1e2cc7c12090/schema)
