WhatGHL icon

WhatGHL

Send actions to WhatGHL API

Actions42

💬 **CHATTING** · Send Voice

AI-generated

Summary

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.

Links

Discussion