Actions43
- Session Actions
- Chat Actions
- User Actions
- Group Actions
Chat → Send Document
AI-generatedSummary
Sends a document to a phone number.
Inputs
- phone (required) — Phone number to send message to (e.g. 5511999999999)
- data — Base64 encoded data (with or without data URI scheme) OR a direct URL (http/https)
- fileName — Name of the file
Output shape
an array of response objects
May contain success data or error details; exact fields depend on the API response per operation.
Examples
Example 1: Send a PDF document to a contact
phone=5511999999999, data=Base64PDF..., fileName=report.pdf
