Actions55
- Message Actions
- Delete
- Edit Message
- React
- Send Carousel
- Send HD Image
- Send Media Album
- Send Sticker Pack
- Send Newsletter Status
- Send AI Rich Message
- Send AI Rich Table
- Send HTML App
- Send Catalog Message
- Request Location
- Send Channel
- Send Contact
- Send Tombol
- Send List
- Ser Lok
- Media
- Send Poll
- Send Sticker
- Send View Once
- Get Media
- Send Product
- Send Text
- Session Actions
- Tool Actions
- Group Actions
- Chat Actions
- Contact Actions
Message → Send View Once
AI-generatedSummary
Sends a media message that can only be viewed once per user.
Inputs
- to (required) — The recipient's chat ID (e.g., 62812345678).
- viewOnceType — The type of media: Image, Video, or Audio. Defaults to Image.
- mediaUrl — Public URL or file path available on the MPWA server. Used if Binary Property is empty.
- binaryPropertyName — Name of the binary property from the input item. If provided, the file is sent as multipart; otherwise, Media URL is used.
- caption — Optional caption for the media.
- aiDisclosure — Sends AI metadata disclosure if the message type supports it (does not change WhatsApp system banner).
- secureMetaServiceLabel — Requests secure metadata service label on supported message types; final appearance is controlled by WhatsApp.
- quoted — Optional quoted message object to attach to the sent message.
Output shape
The API response object from Wavy.
The response contains standard API output for the operation.
Examples
Example 1: Send an image that can only be viewed once.
Set View Once Type to Image, provide mediaUrl or binaryPropertyName, and optionally add a caption.
Example 2: Send a video that can only be viewed once.
Set View Once Type to Video, provide mediaUrl or binaryPropertyName, and optionally add a caption.
Example 3: Send an audio file that can only be viewed once.
Set View Once Type to Audio, provide mediaUrl or binaryPropertyName, and optionally add a caption.