Zappify icon

Zappify

Integração completa com a API Zappify para WhatsApp

Mensagens → Enviar Mídia

AI-generated

Summary

Sends an image or video message to a WhatsApp user or group.

Inputs

  • jid (required) — WhatsApp phone number or group ID.
  • mediaType — Type of media to send: 'image' or 'video'. Defaults to 'image'.
  • mediaUrl (required) — URL of the media file to send.
  • caption — Optional caption text for the media.

Output shape

a single record containing the API response

The response contains the status of the sent media message.

Examples

Example 1: Send a product image to a customer

Set jid to the customer's number, mediaUrl to the image link, and add a brief caption.

Example 2: Send a welcome video to a new group member

Set jid to the group ID, mediaType to 'video', and mediaUrl to the video file URL.

Discussion