Skip to main content
POST
Create community
Auth: TokenAccount or TokenInstanceRate-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.
If the WhatsApp server rejects the creation as a parent (400), the service performs an automatic fallback to a regular group. The response comes back with isCommunity: false and a notice in message.

Examples

Minimum

Creates the community with only the required name (“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 in group, 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

string
required
Instance name (e.g., $Instance_Name).

Headers

string
required
TokenAccount or TokenInstance.
string
required
application/json

Request body

string
required
Community name. Max 25 characters.
string
Community description.
string
URL or base64. Converted to JPEG. An image failure does not abort the creation, it is reported in imageError.
string[]
List of @g.us JIDs of existing groups to link as subgroups.
string
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/update afterwards to adjust it.
  • Limit of 50 subgroups per community (extras land in failedGroups).
  • imageError is populated when the picture fails but the community is still created normally.
  • Silent fallback to regular group: monitor isCommunity on the client side to alert the user.

Errors

Envelope:

Next

Link groups

Add more subgroups after creation.

List subgroups

Check the currently linked groups.