שִׂיג ושִׂיח | cig.chat icon

שִׂיג ושִׂיח | cig.chat

Interact with the cig.chat messaging platform - 258 operations across 32 resources. Manage subscribers, send messages, configure flows, run the shop, and integrate with WhatsApp, Facebook, Instagram, Telegram, web chat, and more.

Actions258

Sending → Send WhatsApp Template

AI-generated

Summary

Send a WhatsApp message using an approved template to a subscriber identified by their namespace.

Inputs

  • Subscriber NS (required) — Unique identifier (namespace) of the subscriber to whom the message will be sent.
  • Namespace — Overrides the default namespace under which the template is registered; leave empty to use the template's registered namespace.
  • Template Name (required) — Select an approved WhatsApp template name to send; the system uses this to fetch the template's namespace, language, and variable keys.
  • Template Language — Specify a BCP-47 language code (e.g., he, en_US) to select the template language; leave empty to use the template's default language.
  • Parameters — Key-value pairs for template variables, allowing substitution in the template; keys correspond to placeholders like BODY_{{1}} or HEADER_{{1}}, and values are text, URLs, or sub-flow namespaces depending on the variable type.

Output shape

a single record containing the API response for the sent WhatsApp template message

Returns the full API response from the send request; supports batching of multiple messages with configurable batch size and interval, and allows specifying HTTP request options such as proxy, timeout, and SSL certificate validation handling.

Examples

Example 1: Send a WhatsApp template message to a subscriber with parameters

Provide the subscriber namespace, select the approved template name, optionally specify language and namespace overrides, then supply key-value pairs for template variables to personalize the message.

Links

Discussion