Post a story
post_storyPublish a WhatsApp story from a linked account: share text on a colored background, or post an image or video from a public URL with an optional caption.
Instructions
Post a story from the account: text on a colored background, or an image or video from a public URL with an optional caption.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The story text (required for `text`), or the caption. | |
| type | No | Default `text`. | |
| mediaUrl | No | Image or video: public http(s) URL of the file. | |
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). | |
| 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. | |
| backgroundColor | No | Text stories: `#RRGGBB`. |