Communities
Create community
Create a community (parent group), optionally linking existing groups in the same call
POST
Create community
Auth:
Envelope:
TokenAccount or TokenInstance • Rate-limit: Global (100/min) • Idempotent: no
Description
Creates a community (parent group with an automatic Announcements group). Optionally accepts a description, picture, and a list of existing groups to link during creation. Each link has a 1s delay between calls to avoid throttling from the WhatsApp server.Examples
Minimum
Creates the community with only the requiredname (“Alpha Community”), with no description, picture, or subgroups linked in the call.
With subgroups
Creates the community “XYZ Company” with description, picture, and links 2 existing groups (groupJid) as subgroups, plus sets membershipApprovalMode: request_required so joins require approval.
Success response
Returns the freshly created community ingroup, where group.jid is the community’s JID (use it as communityJid in subsequent calls) and isCommunity: true confirms WhatsApp accepted the creation as a parent group. Groups passed in groupJid are processed in order and split into linkedGroups (success) and failedGroups (failure). If an image was sent but failed to apply, the reason appears in imageError without aborting the creation.
200 OK
Path parameters
Instance name (e.g.,
$Instance_Name).Headers
TokenAccount or TokenInstance.application/jsonRequest body
Community name. Max 25 characters.
Community description.
URL or base64. Converted to JPEG. An image failure does not abort the creation, it is reported in
imageError.List of
@g.us JIDs of existing groups to link as subgroups.request_required (subgroups require approval by default) or empty string (open).Notes
- The community is born with no participants, members join via each subgroup.
- The Announcements group is created automatically by WhatsApp. You do not control its name / description here, use
PUT /api/group/updateafterwards to adjust it. - Limit of 50 subgroups per community (extras land in
failedGroups). imageErroris populated when the picture fails but the community is still created normally.- Silent fallback to regular group: monitor
isCommunityon the client side to alert the user.
Errors
| HTTP | Message |
|---|---|
| 400 | community name is required |
| 400 | Community name must be 25 characters or less |
| 400 | Instance is not connected to WhatsApp |
| 429 | rate limit exceeded (429): wait before creating again |
| 500 | failed to create community: <reason> |
Next
Link groups
Add more subgroups after creation.
List subgroups
Check the currently linked groups.