Add, remove, promote, demote, approve, or reject participants in a group
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 • Rate-limit: Global (100/min) • Idempotent: no
action field. Each participant gets an individual result (success: bool), so partial operations are possible: the call may return 200 with some members failing.
120363406289005073@g.us in a single call (action: "add"). Failures from privacy settings or numbers without WhatsApp are isolated as success: false in the participants array.
5511999999999 to admin via action: "promote". Requires that you are super-admin of the group (creator or promoted by another super-admin).
5511999999999 via action: "demote", returning them to plain member status. Also requires super-admin privilege.
199789077627112@lid in participants with action: "approve". Only works in groups with requireAdminApproval=true.
5511999999999 via action: "reject". The service automatically resolves the equivalent LID when you pass only the phone number.
5511999999999 from the group via action: "remove". The ex-member can rejoin via the invite link unless you generate a new link with /reset-link.
success: true|false in the participants array. Partial operations are possible, the call may return 200 even with some members failing (number without WhatsApp, privacy blocks add, already a member, etc.). Always inspect each entry to detect isolated errors; the error field carries the reason when success=false.
TokenAccount or TokenInstance.application/jsonadd, remove, promote, demote, approve, reject.action | Permission | Timeout | Use |
|---|---|---|---|
add | Admin | 60s | Add numbers / JIDs |
remove | Admin | 60s | Remove members |
promote | Super-admin | 60s | Make admin |
demote | Super-admin | 60s | Remove admin |
approve | Admin | 90s | Approve pending request |
reject | Admin | 90s | Reject pending request |
promote / demote require you to be super-admin (group creator or promoted by a super-admin).approve / reject only work for groups with requireAdminApproval=true and have a longer timeout (90s) since they depend on responses from WhatsApp.approve/reject, prefer to pass the LID returned by /requests; if you only have the phone number, the service tries to resolve the equivalent LID automatically.| HTTP | Message |
|---|---|
| 400 | Invalid action. Must be one of: add, remove, promote, demote, approve, reject |
| 400 | At least one participant is required |
| 400 | Identifier is required |
| 403 | Not authorized to perform this action (must be admin) |
| 404 | Group not found or you are not a member of this group |