Create Group
wa_create_groupCreate a WhatsApp group with a name and initial members from one of your accounts. Returns the new group's JID (use it as wa_send_message's 'to') and an invite link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | the group name (max 25 characters) | |
| members | No | initial members — phone numbers (E.164) or JIDs, comma- or space-separated; do NOT include your own number | |
| account_id | Yes | the account to create the group from, as returned by wa_list_accounts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | the rows of a list operation | |
| status | Yes | ok (the operation succeeded) or refused (see refusal; for wa_update_group, applied lists the changes that took effect before it) | |
| applied | No | wa_update_group only: the settings that were changed, in order — on a refusal, the ones that took effect before it | |
| refusal | No | present only when status is refused | |
| summary | No | a human-readable result | |
| group_jid | No | the new group's JID (wa_create_group only) — use it as wa_send_message's 'to' | |
| invite_link | No | the group's invite link (wa_create_group or wa_get_group_invite_link) |