Auth:Documentation Index
Fetch the complete documentation index at: https://docs.ryzeapi.cloud/llms.txt
Use this file to discover all available pages before exploring further.
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
| Method | Path | Function |
|---|---|---|
| POST | /api/group/create/:instance | Create group |
| GET | /api/group/list/:instance | List groups |
| GET | /api/group/info/:instance | Group details |
| PUT | /api/group/update/:instance | Update name / description / picture / permissions |
| POST | /api/group/participants/:instance | Add / remove / promote / demote / approve / reject |
| POST | /api/group/join/:instance | Join via code / link |
| POST | /api/group/resetLink/:instance | Revoke and regenerate invite link |
| GET | /api/group/requests/:instance | List pending requests |
| DELETE | /api/group/leave/:instance | Leave group |
Accepted identifiers
Most endpoints accept anidentifier field, which can be:
| Form | Example |
|---|---|
| Group JID | 120363406289005073@g.us |
| Invite code | ABC123XYZ |
| Full link | https://chat.whatsapp.com/ABC123XYZ |
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
| Field | Type | WhatsApp meaning |
|---|---|---|
membersCanEditInfo | bool | Inverse of IsLocked |
membersCanSendMessages | bool | Inverse of IsAnnounce |
membersCanAddOthers | bool | MemberAddMode == AllMember |
requireAdminApproval | bool | IsJoinApprovalRequired |
Error envelope
All routes use the API’s standard envelope:Error reference (summary)
| Category | Message |
|---|---|
| Auth | Not authorized to view group requests (must be admin) |
| Auth | Not authorized to perform this action (must be admin) |
| Auth | Not authorized to update this group (must be admin) |
| Auth | Not authorized to reset group invite link (must be admin) |
| Auth | Not allowed to join this group |
| Auth | Not allowed to leave this group |
| Validation | Identifier is required |
| Validation | At least one participant is required |
| Validation | Invalid action. Must be one of: add, remove, promote, demote, approve, reject |
| Identifier | failed to resolve group from identifier (not a valid JID, code, or link) |
| Identifier | invalid group JID <jid>: <reason> |
| Identifier | not a group JID |
| State | Instance is not connected to WhatsApp |
| State | Group not found or you are not a member of this group |
| Invite | Invite link has been revoked or expired |
| Invite | Invalid invite link or code |
| Throttle | rate limit exceeded (429): wait before creating again |
Next
Create group
Create a new group with initial participants.
List groups
Return all groups for the instance.