Actions42
- 💬 **CHATTING** · Send Text
- 💬 **CHATTING** · Mention Group Members
- 💬 **CHATTING** · Send Image
- 💬 **CHATTING** · Send Video
- 💬 **CHATTING** · Send Voice
- 💬 **CHATTING** · Send File
- 💬 **CHATTING** · Download Media File
- 💬 **CHATTING** · Send Seen
- 💬 **CHATTING** · Start Typing
- 💬 **CHATTING** · Set Online
- 💬 **CHATTING** · Set Offline
- 💬 **CHATTING** · Start Recording
- 💬 **CHATTING** · Send Reaction
- 💬 **CHATTING** · Send Location
- 💬 **CHATTING** · Send Poll
- 💬 **CHATTING** · Send List Message
- 💬 **CHATTING** · Send Link Custom Preview
- 💬 **CHATTING** · Send Event Message
- 💬 **CHATTING** · Send Contact Card
- 🟢 **STATUS ACTIONS** · Send Text Status
- 🟢 **STATUS ACTIONS** · Send Image Status
- 🟢 **STATUS ACTIONS** · Send Voice Status
- 🟢 **STATUS ACTIONS** · Send Video Status
- 🟢 **STATUS ACTIONS** · DELETE Sent Status
- 🏷️ **LABELS** · Get All Labels
- 👥 **GROUPS** · Get All Groups
- 👥 **GROUPS** · Get Group
- 👥 **GROUPS** · Get Participants
- 👥 **GROUPS** · Add Participants
- 👥 **GROUPS** · Remove Participants
- 👥 **GROUPS** · Get Invite Code
- 👥 **GROUPS** · Get Group Picture
- 🏷️ **LABELS** · Create Label
- 🏷️ **LABELS** · Update Label
- 🏷️ **LABELS** · Delete Label
- 🏷️ **LABELS** · Get Labels For Chat
- 🏷️ **LABELS** · Save Labels For Chat
- 🏷️ **LABELS** · Get Chats By Label
- 👤 **CONTACTS** · Get All Contacts
- 👤 **CONTACTS** · Get Contact Basic Info
- 👤 **CONTACTS** · Check Phone Registered
- 👤 **CONTACTS** · Get Contact Profile Picture
💬 **CHATTING** · Send Voice
AI-generatedSummary
Send a voice message to a specified WhatsApp chat using a media URL and optional text content through a selected WhatGHL session.
Inputs
- Session Mode — Choose how WhatGHL selects the sender session: Auto, By Session Name, or Select Session (recommended).
- Session — Select from available sessions for the API key when using 'Select Session' mode.
- Session Name — Specify a WAHA session name to use as sender when using 'By Session Name' mode.
- Chat ID (required) — Destination WhatsApp chat ID. Can be mapped from incoming data.
- Media URL (required) — Public URL of the voice media file to send.
- Content — Optional text content to accompany the voice message.
Output shape
a list of JSON objects, each representing the response from the WhatGHL API for each voice message sent
Returns JSON containing the API response. Each output item is paired with its corresponding input item. The operation requires valid WhatGHL API credentials and a valid media URL. Errors are reported per item.
Examples
Example 1: Send a voice message to a chat
Set Session Mode (e.g., Auto), specify the Chat ID, provide the Media URL of the voice file, optionally add text Content, then run to send the voice message through the selected session.