> For the complete documentation index, see [llms.txt](https://support.whapi.cloud/help-desk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.whapi.cloud/help-desk/communities/send-comment-to-whatsapp-community-announcement.md).

# Send comment to WhatsApp community announcement

Whapi.Cloud allows you to add a comment to an existing announcement in a WhatsApp Community.

A comment is linked to a specific [announcement message](/help-desk/communities/send-announcement.md), so you need its Message ID before sending the request.

### Send a comment

Use the following endpoint:

`POST https://gate.whapi.cloud/messages/{MessageID}/comment`

Replace `{MessageID}` with the ID of the Community announcement you want to comment on. You can retrieve the announcement ID, for example, using the [Get messages](https://whapi.readme.io/reference/getmessages) or [Get messages by chat ID](https://whapi.readme.io/reference/getmessagesbychatid) request (by specifying the announcement group ID instead of the chat ID).&#x20;

Check out [the article to learn how to find the announcement group ID](/help-desk/communities/introduction.md#how-to-find-the-correct-announcements-group).

#### Example request

```bash
curl -X POST "https://gate.whapi.cloud/messages/A7mK2pQ9vD4xR6tN8sF1cH5jL3wB0eY/comment" \
  -H "Authorization: Bearer <CHANNEL_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "body": "Thank you for the update. We will review the details."
  }'
```

#### Path parameter

* `MessageID` — the ID of the Community announcement to which the comment will be added.

#### Request body

* `body` — the text of the comment. It must be a non-empty string.
