Baileys Instance icon

Baileys Instance

Use the wa-instance API built on Baileys 7

Group → Create

AI-generated

Summary

Create a new WhatsApp group with a specified subject and a list of participant JIDs.

Inputs

  • Subject — The name or subject of the group to create.
  • Participants — A collection of participant JIDs (WhatsApp unique identifiers) to add to the group upon creation.

Output shape

a single record representing the created group's snapshot or response data from the API

Returns the API response for the created group. The response structure is as provided by the Baileys instance backend; no pagination applies since only one group is created per operation.

Examples

Example 1: Create a group named 'Project Team' with three participants

Set 'Subject' to 'Project Team'. Add three participant JIDs to the 'Participants' collection.

Links

Discussion