Skip to main content
Glama

WSAPI WhatsApp MCP Server

by wsapi-chat

whatsapp_send_audio

Send audio messages to WhatsApp contacts or groups using file URLs or base64 data. Supports various audio formats, mentions, replies, forwarding, and view-once functionality.

Instructions

Send an audio file message to a WhatsApp contact or group. Can send from URL or base64.

Input Schema

NameRequiredDescriptionDefault
audioBase64NoBase64 encoded audio data (alternative to audioURL)
audioURLNoURL of the audio file to send (alternative to audioBase64)
isForwardedNoWhether the message should be marked as forwarded
mentionsNoList of phone numbers to mention
mimeTypeYesMIME type of the audio file
replyToNoID of the message being replied to
toYesRecipient phone number (with @s.whatsapp.net) or group ID (with @g.us)
viewOnceNoWhether the audio should be sent as view-once

Input Schema (JSON Schema)

{ "properties": { "audioBase64": { "description": "Base64 encoded audio data (alternative to audioURL)", "optional": true, "type": "string" }, "audioURL": { "description": "URL of the audio file to send (alternative to audioBase64)", "optional": true, "type": "string" }, "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" }, "mimeType": { "description": "MIME type of the audio file", "enum": [ "audio/mpeg", "audio/mp3", "audio/ogg", "audio/wav" ], "type": "string" }, "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 audio should be sent as view-once", "optional": true, "type": "boolean" } }, "required": [ "to", "mimeType" ], "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