Z-API WhatsApp icon

Z-API WhatsApp

Integration with Z-API (WhatsApp) organized by resources (messages, groups, chats, contacts, products, queue, instance, status, etc.).

Group → Add Admin

AI-generated

Summary

Promote one or more participants to group admin

Inputs

  • groupId (required) — Group ID (phone) in international format (e.g., 120363019502650977-group). Required.
  • participants (required) — List of participant phone numbers (international format) to be added as admins. Each entry is a phone string.

Output shape

a single object containing the API response for adding an admin

Response may include success information and updated admin list; shape depends on Z-API return.

Examples

Example 1: Add two admins to a group

groupId = 120363019502650977-group; participants = [{phone: "5511999999999"}, {phone: "5511888888888"}]

Links

Discussion