Skip to main content
Glama

WSAPI WhatsApp MCP Server

by wsapi-chat

whatsapp_send_voice

Send voice messages to WhatsApp contacts or groups using either a URL or base64-encoded audio data. Supports mentions, replies, forwarding, and view-once delivery options.

Instructions

Send a voice message (PTT) to a WhatsApp contact or group. Can send from URL or base64.

Input Schema

NameRequiredDescriptionDefault
isForwardedNoWhether the message should be marked as forwarded
mentionsNoList of phone numbers to mention
replyToNoID of the message being replied to
toYesRecipient phone number (with @s.whatsapp.net) or group ID (with @g.us)
viewOnceNoWhether the voice message should be sent as view-once
voiceBase64NoBase64 encoded voice data (alternative to voiceURL)
voiceURLNoURL of the voice file to send (alternative to voiceBase64)

Input Schema (JSON Schema)

{ "properties": { "isForwarded": { "description": "Whether the message should be marked as forwarded", "optional": true, "type": "boolean" }, "mentions": { "description": "List of phone numbers to mention", "items": { "type": "string" }, "optional": true, "type": "array" }, "replyTo": { "description": "ID of the message being replied to", "optional": true, "type": "string" }, "to": { "description": "Recipient phone number (with @s.whatsapp.net) or group ID (with @g.us)", "type": "string" }, "viewOnce": { "description": "Whether the voice message should be sent as view-once", "optional": true, "type": "boolean" }, "voiceBase64": { "description": "Base64 encoded voice data (alternative to voiceURL)", "optional": true, "type": "string" }, "voiceURL": { "description": "URL of the voice file to send (alternative to voiceBase64)", "optional": true, "type": "string" } }, "required": [ "to" ], "type": "object" }

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/wsapi-chat/wsapi-mcp'

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