TNEENWH icon

TNEENWH

Use TNEENWH API operations

Send List

AI-generated

Summary

Send an interactive list message via the TNEENWH API to a specified WhatsApp contact using a JSON payload.

Inputs

  • List Payload JSON (required) — A JSON object defining the message payload including the recipient in the 'to' field, the button text in 'buttonText', and the sections with rows representing options to display in the list message.
  • Session ID Override — Optional override for the session ID to use instead of the default credential session.
  • Channel Secret Override — Optional override for the channel secret to use instead of the default credential channel secret.

Output shape

a list of JSON objects, each corresponding to the API response per input item

Supports multiple input items. Each output item contains the response JSON from the sendList operation, paired with the respective input item.

Examples

Example 1: Send a list message to a WhatsApp contact

Set 'List Payload JSON' with 'to' as '201234567890@c.us', 'buttonText' as 'Choose', and at least one section with menu options. Optionally use 'Session ID Override' or 'Channel Secret Override' if not using default credentials.

Links

Discussion