TNEENWH icon

TNEENWH

Use TNEENWH API operations

V1 Send Message

AI-generated

Summary

Send a message using the TNEENWH v1 API by providing a raw JSON payload to specify the message details.

Inputs

  • Session ID Override — Optional explicit session ID to override the default credential session ID for this message send operation.
  • Channel Secret Override — Optional explicit channel secret to override the default credential channel secret for this message send operation.
  • Message Payload JSON (required) — Raw JSON object describing the message to be sent, including at minimum the recipient ('to') and the message content ('message').

Output shape

a single JSON object representing the API response for the sent message

The response data is returned as a single JSON output item per input. Errors will cause node failure unless 'Continue On Fail' is enabled, in which case error details are output as JSON per item.

Examples

Example 1: Sending a simple text message to a WhatsApp contact using a custom payload

Set 'Message Payload JSON' to {"to": "201234567890@c.us", "message": "Hello"}. Optionally specify 'Session ID Override' and/or 'Channel Secret Override' to send from a specific session/channel secret instead of the default credentials.

Links

Discussion