Get a group's invite link
get_group_invite_linkRetrieve a WhatsApp group's chat invite link using account ID and group ID. Admin privileges required.
Instructions
The group's https://chat.whatsapp.com/... invite link. The account must be an admin.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountId": "<accountId>",
"groupId": "<groupId>"
},
"name": "get_group_invite_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | The group id (`...@g.us`), from list_groups. | |
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). |