Digitalsac DigiCrm icon

Digitalsac DigiCrm

Interact with the Digitalsac DigiCrm API (WhatsApp, tickets, scheduling, WABA templates and more).

Actions396

WABA Template → Send WABA Template

AI-generated

Summary

Send a WhatsApp Business API (WABA) template message to a specific recipient using a stored template ID and WhatsApp connection ID.

Inputs

  • wabaWhatsappId (required) — ID of the WhatsApp WABA connection to send the message from.
  • wabaTemplateId (required) — ID of the WhatsApp template stored in the system to use for the message.
  • wabaPhoneNumber (required) — Recipient's phone number including country and area code (e.g. 5511999999999).
  • wabaTemplateParams — Optional JSON object containing body variables for the template, indexed by number or name, supporting placeholders like {{1}}, {{2}}.
  • wabaMediaUrl — Optional public HTTP(S) URL for media content (image, video, document) to override the media in the template's header.
  • wabaHeaderParams — Optional JSON object for header text variables indexed by number or name.
  • wabaButtonParams — Optional JSON array to override dynamic URL buttons by specifying index, type, and value.

Output shape

a single JSON object

Returns the API response confirming the send action or detailing error information if the request fails.

Examples

Example 1: Sending a WABA template message with body and button parameters

Set wabaWhatsappId to your connection ID, wabaTemplateId to your stored template's ID, specify the recipient's wabaPhoneNumber, and provide wabaTemplateParams and/or wabaButtonParams JSON to fill template placeholders.

Links

Discussion