send_document_message
Send documents via WhatsApp Business API by providing recipient phone number and document URL. Include optional caption and filename for the file being shared.
Instructions
Send a document message via WhatsApp Business API
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number with country code | |
| document_url | Yes | Public URL of the document to send | |
| caption | No | Optional caption for the document | |
| filename | No | Optional filename for the document | |
| phone_number_id | No | WhatsApp Business phone number ID (optional, uses env var if not provided) |