Send Wa Templates

Send WhatsApp Templates through ASPE.ai

Send Template

AI-generated

Summary

Send a WhatsApp template message or retrieve template details using a specified bot, template, and recipient phone number.

Inputs

  • Bot Name or ID (required) — Select or specify the bot ID that manages the WhatsApp templates.
  • Template Name or ID (required) — Select or specify the template ID to send or inspect. Choices depend on the bot selected.
  • Recipient Phone Number (required) — Enter the recipient phone number in international format, including the country code (e.g., +1234567890).
  • Template Parameters (JSON) — Provide template parameters as a JSON object to fill variables in the template. Use the "Get Template Info" option to see required fields.
  • Get Template Info — Set to true to fetch and return the template's components and required fields instead of sending the message.

Output shape

a single JSON object per input item

If 'Get Template Info' is true, returns the template's component details, required fields, and dynamic fields. If false, sends the WhatsApp template message and returns the API response along with template metadata. Errors are returned per item if 'Continue On Fail' is enabled.

Discussion