Manage channels
manage_channelAdminister WhatsApp channels: list, read, create, follow, mute, and react to posts for one-to-many broadcasts.
Instructions
WhatsApp channels (one-to-many broadcasts, ids end in @newsletter): list the ones the account follows or owns, read one and its posts, preview an invite, create a channel, follow, unfollow, mute and unmute, react to posts and count as a viewer. To post to a channel the account administers, use send_text or send_media with to set to the channel id.
Actions:
list: Channels the account follows or administers, with its role.get: One channel: name, description, subscriber count, the account's role and whether it is muted.preview_invite: The channel behind an invite code or link, without following it.list_messages: The channel's recent posts, newest first, with view and reaction counts.create: Create a channel with the account as owner. Returns it.follow: Follow the channel.unfollow: Stop following the channel.mute: Mute the channel's notifications.unmute: Unmute the channel.react: React to a post with an emoji, or remove the reaction with an empty string.mark_viewed: Count the account as a viewer of these posts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The invite code, or the full invite link (`https://chat.whatsapp.com/...`, `https://whatsapp.com/channel/...`). Required for `preview_invite`. | |
| name | No | The channel name. Required for `create`. | |
| emoji | No | One emoji. An empty string removes the reaction. Required for `react`. | |
| limit | No | Page size, 1 to 100. Default 20. Optional for `list`, `list_messages`. | |
| action | Yes | What to do. See the list of actions in the tool description. | |
| cursor | No | `nextCursor` from the previous page, to get the next one. Optional for `list`, `list_messages`. | |
| accountId | No | The wuapi account id of the linked number to act as (from list_accounts). Required for every action. | |
| channelId | No | The channel id (`...@newsletter`), from manage_channel `list`. Required for `get`, `list_messages`, `follow`, `unfollow`, `mute`, `unmute`, `react`, `mark_viewed`. | |
| description | No | The channel description. Optional for `create`. | |
| pictureBase64 | No | The channel picture as a base64 JPEG. Optional for `create`. | |
| idempotencyKey | No | Optional. Reuse the same key when retrying this exact call: within 24 hours wuapi returns the first result instead of doing it twice. Optional for `create`. | |
| channelMessageId | No | A post's id, from `list_messages`. Required for `react`. | |
| channelMessageIds | No | 1 to 100 post ids, from `list_messages`. Required for `mark_viewed`. |