Skip to main content
Auth: TokenAccount or TokenInstance on every route. Each call validates the instance ownership. This section covers all /api/group/* routes: creation, listing, details, participant management, metadata updates, invite link reset, joining, and leaving. For communities (parent groups), see Communities.

Endpoints

Accepted identifiers

Most endpoints accept an identifier field, which can be:
Exceptions:
  • POST /api/group/join accepts only a code or link (no JID).
  • GET /api/community/listSubGroups requires a JID in the query ?communityJid=.

Data structures

GroupInfo

Standard response for the create and update routes.

GroupDetail

Response from GET /info. Includes extra fields beyond GroupInfo: image, createdAt, metadata (author of the last name / description change), isEphemeral, isIncognito, isSuspended, isDefaultSubGroup.

GroupPermissions

Error envelope

All routes use the API’s standard envelope:

Error reference (summary)

Next

Create group

Create a new group with initial participants.

List groups

Return all groups for the instance.