# 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="https://2417185145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhsdgGmVCG31mEaHyRvxC%2Fuploads%2Fbc3KkytYLg5Wo4j5pHwb%2Fimage.png?alt=media&#x26;token=afa1f57b-fa07-4050-a394-3465761230b2" 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](https://support.whapi.cloud/help-desk/groups/add-new-member-to-group#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
