File Attachments
Send images, documents, audio, and other files as WhatsApp messages.Workflow
Sending a file is a two-step process:Uploading files
Option 1: Upload from URL
If your file is publicly accessible:Option 2: Upload file directly
For local files, use multipart form data:Sending files
Once uploaded, use thefile_uid to send:
File with text
Supported file types
| Category | Formats | Max Size |
|---|---|---|
| Images | JPG, PNG, GIF, WebP | 16 MB |
| Documents | PDF, DOC, DOCX, XLS, XLSX | 100 MB |
| Audio | MP3, OGG, OGA, AAC | 16 MB |
| Video | MP4, 3GP | 16 MB |

