WhatGHL icon

WhatGHL

Send actions to WhatGHL API

Actions42

💬 **CHATTING** · Send List Message

AI-generated

Summary

Send a List Message to a specified WhatsApp chat via a selected WhatGHL session.

Inputs

  • Session Mode — Choose how the sender session is selected: Auto, By Session Name, or Select Session from available sessions.
  • Session — Select the sender session by its ID if using 'Select Session' mode.
  • Session Name — Specify the exact WAHA session name if using 'By Session Name' mode.
  • Chat ID (required) — Destination chat identifier to which the List Message will be sent.
  • List Title — Optional title displayed at the top of the list message.
  • List Description — Optional description or body text shown with the list message.
  • List Button Text (required) — Label for the button that users tap to open the list options.
  • List Sections (JSON or CSV-like) (required) — JSON array defining list sections and rows; each row includes a title, rowId, and optional description. Maximum of 10 total rows across sections.
  • List Footer — Optional footer text shown at the bottom of the list message.

Output shape

a single JSON response object for each input item

Returns the API response JSON from WhatGHL for each sent list message. The operation requires a valid chatId and properly formatted listSections. Throws an error if required fields are missing or listSections exceed 10 rows total.

Links

Discussion