Skip to main content
Glama

waha_send_file

Send documents or files to WhatsApp chats using local file paths or URLs, with options for captions and custom filenames.

Instructions

Send a document/file to a WhatsApp chat (from local file OR URL)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatIdYesChat ID
filePathNoLocal file path (e.g., "/tmp/document.pdf")
fileUrlNoURL of the file to send (can be HTTP URL or data: URL)
mimetypeNoFile MIME type (auto-detected if using filePath)
filenameNoDisplay filename (auto-detected if using filePath)
captionNoFile caption
sessionNoSession namedefault

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dudu1111685/waha-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server