> 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/add-a-member-to-a-community.md).

# Add a member to a community

To add a user to the Community, use this endpoint&#x20;

`POST https://gate.whapi.cloud/communities/{CommunityID}/participants`

{% embed url="<https://whapi.readme.io/reference/addcommunityparticipant>" %}
This method is responsible for add participants community
{% endembed %}

```json
curl --request POST \
     --url https://gate.whapi.cloud/communities/120363326919215056%40g.us/participants \
     --header 'accept: application/json' \
     --header 'authorization: Bearer {Your_Token}' \
     --header 'content-type: application/json' \
     --data '
{
  "participants": [
    "306994508341",
    "306994518352"
  ]
}
'
```

Response:

<pre><code>{
  "success": true,
  "processed": [
    "306994508341",
    "306994518352"
  ],
  <a data-footnote-ref href="#user-content-fn-1">"failed": []</a>
}
</code></pre>

<div align="center"><figure><img src="/files/w2jj6NXS4lTH0mPkMe4k" alt="" width="243"><figcaption><p>The result of adding new members to the community</p></figcaption></figure></div>

Adding a user to Community is completely identical and follows the rules of adding a user to a group.&#x20;

Due to WhatsApp's anti-spam policy, some contacts are not automatically added to the group. [Read more here](/help-desk/groups/add-new-member-to-group.md#adding-a-member-to-a-group-failed)

To remove a participant from the community, use the “Remove participants from community” endpoint:

{% embed url="<https://whapi.readme.io/reference/removecommunityparticipant>" %}

[^1]: If numbers could not be added to the community, they will be displayed in this array


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.whapi.cloud/help-desk/communities/add-a-member-to-a-community.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
