Actions50
- Message Actions
- Send Text
- Send Image
- Send Video
- Send Audio
- Send Document
- Send Sticker
- Send Location
- Request Location
- Send Buttons
- Send List
- Send CTA
- Send Product
- Get Catalogs
- Send Product List
- Send Catalog
- Send Flow
- Request Call Permission
- Send Contact
- Send Template
- Send and Wait for Response
- Send or Remove Reaction
- Mark as Read
- List Messages
- Get Message
- Platform Messages Actions
- Media Actions
- Contact Actions
- Conversation Actions
- Broadcast Actions
- Block User Actions
- Custom API Call Actions
Message → Send Document
AI-generatedSummary
Send a WhatsApp document to a recipient through the selected Kapso phone number, using either a Meta media ID or a public URL. You can add an optional caption, filename, reply context, and callback data.
Inputs
- Phone Number Name or ID — Kapso WhatsApp phone number used to send the document; choose a loaded number or provide its ID.
- Recipient Phone (required) — Recipient’s Meta-format phone number: 8–15 digits, without a plus sign or spaces.
- Media Source — Choose Media ID or Public Link. Defaults to Media ID.
- Media ID (required) — Required when Media Source is Media ID. Provide the ID of uploaded media or a Kapso Trigger media attachment.
- Public URL (required) — Required when Media Source is Public Link. Provide an HTTP or HTTPS URL for the document.
- Caption (optional) — Plain-text caption shown below the document, up to 1024 characters.
- Filename (optional) — Filename displayed to the recipient, up to 240 characters.
- Reply To Message ID (optional) — WAMID of the message to reply to; supports reply context for this send operation.
- Callback Data (optional) — Opaque metadata, up to 512 characters, returned in message status webhooks and not shown to the recipient.
Output shape
A single Kapso API response item for the send request.
The supplied source excerpt does not show the request execution or response mapping, so the exact response fields are unspecified.