---
title: "[BETA] send community announcement"
method: POST
path: "/instances/{id}/client/action/send-community-announcement"
tags: ["community"]
---

# [BETA] send community announcement

`POST /instances/{id}/client/action/send-community-announcement`

Post an announcement to a Community. Supports text (message), URL-based media (mediaUrl), and broadcast targeting. target='general' (default) posts only to the default announcement subgroup which reaches every community member and returns the message result synchronously. target='all' broadcasts sequentially to every linked subgroup and is ALWAYS dispatched asynchronously — the response contains a `reference` you can poll via GET /instances/{id}/request/{reference} instead of the message payload. If both message and mediaUrl are provided without mediaCaption, message is used as the media caption. Note: This endpoint is currently in beta and may change without notice.

## Path parameters

- `id` integer, required

## Request body

- object
  - `communityId` string, required
  - `target` 'general' | 'all'
  - `message` string
  - `mediaUrl` string
  - `mediaCaption` string
  - `mediaName` string
  - `previewLink` boolean
  - `asSticker` boolean
  - `asVoice` boolean
  - `asDocument` boolean

## Response `200`

- object
  - `status` 'success' | 'error'
  - `data` object

## Other responses

- `401` — Unauthorized — invalid or missing bearer token
- `403` — Forbidden — insufficient permissions or account blocked
- `404` — Not found — instance or community does not exist
- `409` — Conflict — instance is not ready
- `422` — Validation error — invalid or missing request parameters
- `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)
