group_add
Add a specific group to your discovery list by @username or invite link (Telegram t.me/..., WhatsApp chat.whatsapp.com/...). Nothing is joined yet: run group.join with the returned id to join and start syncing.
Groups and channels only — this does NOT add an individual person/contact. To add a person by @username (e.g. a customer or lead), use contacts.discover then contacts.sync instead.
When to use:
You already know the group's @username or invite link
Adding a known group without searching
Returns: group metadata including id, title, member_count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | The group's @username or invite link (e.g. '@phuket', 't.me/...' or 'https://chat.whatsapp.com/<code>') | |
| channel | Yes | Channel the group is on ('telegram' or 'whatsapp'; WhatsApp needs a personal QR-paired account, not the Business API) | |
| account_id | No | Which of the workspace's accounts on this channel acts (from channels.list). OMIT to use the workspace's default account. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |