Read and answer stories
manage_storiesRead, view, react to, reply to, or delete WhatsApp stories and statuses on a linked account, and see who viewed the stories the account posted.
Instructions
Stories (WhatsApp Status): read the ones the account's contacts posted in the last 24 hours, mark one as viewed, react or reply to it, and see or delete the ones the account posted (post with post_story). Reading stories tells the contact nothing; view does, so call it only when the user wants the contact to know. Contacts' stories arrive only for accounts with stories turned on.
Actions:
list: Contacts' stories, grouped by contact, the contact with the newest story first.list_own: The stories the account posted in the last 24 hours, with how many contacts saw each.get: One story. WithfetchMedia, also its file's direct URL.viewers: Who saw a story the account posted, with their reactions, the latest viewer first.view: Tell the contact the account saw their story: the account then shows in the story's viewers. Only when the user asked for it.authorNotified: falsein the answer means WhatsApp did not tell them (read receipts are off).react: React to a contact's story with an emoji, or remove the reaction with an empty string. Only the story's author sees it.reply: Reply to a contact's story with text: a message in the chat with its author, who sees it as a reply to their story.delete: Delete a story the account posted, for everyone. Needsconfirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The reply. Required for `reply`. | |
| emoji | No | One emoji, such as a green heart. An empty string removes the reaction. Required for `react`. | |
| limit | No | Page size, 1 to 100. Default 20. Optional for `list`, `list_own`, `viewers`. | |
| 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_own`, `viewers`. | |
| confirm | No | Must be true. The story is deleted for every contact and cannot be restored. Only set it after the user asked for this or agreed to it. Required for `delete`. | |
| storyId | No | A story id, from `list`, `list_own` or a webhook. A story the account posted has the id of its message. Required for `get`, `viewers`, `view`, `react`, `reply`, `delete`. | |
| unviewed | No | `true`: only the contacts with a story the account has not seen. Optional for `list`. | |
| accountId | No | The wuapi account id of the linked number to act as (from list_accounts). Required for every action. | |
| contactId | No | A contact id (E.164 with + or `lid:<digits>`): only this contact's stories. Optional for `list`. | |
| fetchMedia | No | Also download the story's file if needed and return its direct URL as `mediaFile`. Does not mark the story as viewed. Optional for `get`. | |
| 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 `view`, `reply`. |