TNEENWH icon

TNEENWH

Use TNEENWH API operations

V1 Send List

AI-generated

Summary

Send an interactive list message via the TNEENWH v1 API channel specifying the list payload as JSON.

Inputs

  • Session ID Override — An optional override for the session ID to use instead of the default credentials session ID.
  • Channel Secret Override — An optional override for the channel secret to use instead of the default credentials channel secret.
  • List Payload JSON (required) — The JSON object defining the list message payload, including the recipient ('to'), button text, and sections with titles and rows representing options.

Output shape

a single JSON response object from the v1 channel sendList API call

The output is placed as a JSON object per input item, paired with the item index. If the operation fails and 'Continue On Fail' is enabled, an error object is returned instead.

Examples

Example 1: Send an interactive list message

Provide the List Payload JSON input with structure: to (recipient JID), buttonText, sections (title and rows with ids and titles). Optionally override session ID and channel secret to specify which TNEENWH session/channel to send the list from.

Links

Discussion