WA Ops icon

WA Ops

Automate WhatsApp with 140+ operations: messages, chats, contacts, groups, communities, newsletters, business, media upload, sessions, labels, and more. Your WhatsApp must be connected via https://waops.app/connect before using this node.

Message → Send View Once

AI-generated

Summary

Sends a view-once image or video to a WhatsApp user or group. The media is specified by a URL and can include an optional caption; the recipient can view the media once before it disappears.

Inputs

  • to (required) — Phone number with country code (e.g. 447700900000) or Group ID (e.g. 120363316517167240@g.us). The @s.whatsapp.net suffix is added automatically for phone numbers. Do NOT include + or spaces.
  • viewOnceUrl (required) — URL of the image or video to send as view-once.
  • viewOnceType — Whether the media is an image or video. Options: image, video (default: image).
  • viewOnceCaption — Optional caption for the view-once message.

Output shape

object

Returns the raw response from the WA Ops API after sending the view-once media, typically containing message IDs and status information.

Examples

Example 1: Send a view-once image to a user

Set 'to' to '447700900000', 'viewOnceUrl' to 'https://example.com/photo.jpg', 'viewOnceType' to 'image', and optionally provide a caption.

Links

Discussion