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

# [BETA] set the Status privacy

`POST /instances/{id}/client/action/set-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.

## Path parameters

- `id` integer, required

## Request body

- object
  - `type` 'all' | 'allow' | 'deny', required — "all" shows the Status to all contacts; "allow" restricts visibility to the listed contacts; "deny" excludes the listed contacts.
  - `contacts` string[] — E.164 phone numbers or chat IDs. Required when type is "allow" or "deny".

## Response `200`

Status privacy updated successfully

- object
  - `status` 'success' | 'error'
  - `instanceId` string
  - `data` object
    - `updated` boolean
    - `type` string
    - `contactCount` integer
  - `links` object
    - `self` string

## 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
- `409` — Conflict — instance is not ready
- `422` — Validation error — type missing/invalid, contacts missing for allow/deny, etc.
- `429` — Too many requests — rate limit exceeded

---

[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)
