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 Documento
AI-generatedSummary
Send a document file to a specified WhatsApp recipient or group via the Zappify API.
Inputs
- jid (required) — The target WhatsApp phone number or group ID (e.g. 5511999999999 or 123456789@g.us).
- mediaUrl (required) — The direct URL of the document file to send.
- caption — Optional text caption to attach to the document.
- fileName — Optional custom file name for the document.
Output shape
a single record
Returns the API response object from Zappify detailing the sent message status.
Examples
Example 1: Send a PDF report to a user
Set Destinatário (JID) to '5511999999999', URL da Mídia to 'https://example.com/report.pdf', Legenda to 'Here is your requested report', and Nome do Arquivo to 'report.pdf'.