JetAPI icon

JetAPI

Integrate with JetAPI for Telegram and WhatsApp messaging

Send Text Message

AI-generated

Summary

Send a text message through WhatsApp, Telegram, or a cascade channel by specifying the delivery channel, recipient, message content, and optional message parameters.

Inputs

  • Channel (required) — Choose the delivery channel: WhatsApp, Telegram, or Cascade (automatic selection based on account and priority settings).
  • Recipient Type (required) — For Telegram channel only, specify how to identify the recipient: Phone Number, Telegram Username, or Telegram User/Group ID.
  • Phone Number (required) — For WhatsApp and Cascade channels, or Telegram with Phone Number recipient type, provide the recipient's phone number in international format.
  • Username (required) — For Telegram channel with Telegram Username recipient type, provide the recipient's Telegram username without the @ symbol.
  • Telegram User or Group ID (required) — For Telegram channel with Telegram User or Group ID recipient type, provide the Telegram user ID (positive for private chat, negative for group chat).
  • Message Text (required) — Content of the text message to send (up to 3500 characters for messengers, 160 for SMS).
  • Additional Options — Optional collection of parameters including Callback URL for delivery updates, External ID for idempotence, Priority (High, Medium, Low), Reply to Message ID for threading, Scheduled At time (UTC), Simulate Typing (WhatsApp only), and UTM Mark for tracking.

Output shape

a list of JSON objects representing the API response for each sent message, including success or error details

The operation returns an array with the JetAPI response data for each input item processed. If an error occurs and 'Continue On Fail' is enabled, errors are returned as JSON objects; otherwise, the workflow execution stops with an error.

Links

Discussion