Send WhatsApp message
send_messageSend WhatsApp text or media messages from a hosted LoginWA device, supporting OTPs, alerts, and broadcasts without managing your own infrastructure.
Instructions
Send a WhatsApp text or media message from a connected LoginWA device. Media types require a public https media_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ptt | No | For audio: send as voice note when true | |
| type | No | Message type (default text) | |
| phone | Yes | Recipient phone (E.164/digits) or group JID (...@g.us) | |
| caption | No | Optional caption for media | |
| message | No | Text body (required for type=text) | |
| filename | No | Optional document filename | |
| mimetype | No | Optional MIME type hint | |
| device_id | No | Optional device to send from | |
| media_url | No | Public https URL for media types |