Actions78
- Conexão Actions
- Perfil Actions
- Mensagens Actions
- Grupos Actions
- Contatos Actions
- Comunidades Actions
- Chamadas Actions
- Webhooks Actions
- Fila e Jobs Actions
- Configurações Actions
- Integrações Actions
- Text to Speech Actions
- Estatísticas Actions
Mensagens → Enviar Mídia
AI-generatedSummary
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.