Actions24
- Mensagem Actions
- Opções de Mensagem Actions
- Grupo Actions
- CRM Actions
Mensagem → Enviar Mídia
AI-generatedSummary
Send a media message to a specified recipient number or group via WhatsApp, including options for media type, caption, filename, and additional common message parameters.
Inputs
- Número do Destinatário (required) — The phone number or group ID to which the media message will be sent, e.g., '5511999999999' or group ID like '5511...@g.us'.
- URL da Mídia (required) — The URL or Base64 string of the media file to send, such as 'https://.../arquivo.jpg'.
- Tipo de Mídia (required) — The type of media being sent; options include Image, Video, Audio, or Document.
- Legenda — Optional caption text to accompany the media message.
- Nome do Arquivo — Optional name of the media file, e.g., 'imagem.jpg'.
- Opções (Campos Comuns) — Additional optional parameters including delay before sending (shows "Typing..."), marking chat or messages as read, replying to a message ID, mentions, marking as forwarded, tracking, asynchronous sending via internal queue, and JSON placeholders for message templating.
Output shape
a single record containing the JSON response from the API after sending the media message
The output contains the API response in JSON format. Errors will throw exceptions unless "Continue On Fail" is enabled, in which case error details appear in the output.
Examples
Example 1: Send an image to a WhatsApp contact with a caption and custom filename
Set 'Número do Destinatário' to the contact number, 'URL da Mídia' to the image URL, 'Tipo de Mídia' to 'Imagem', optionally provide 'Legenda' and 'Nome do Arquivo'.