Skip to main content
After a template has been approved, it can be sent using the Send Template Message endpoint. This endpoint supports:
  • Pre-approved WhatsApp templates
  • Dynamic placeholders
  • Images
  • Videos
  • Documents
  • Interactive buttons
  • Multiple recipients
Only templates approved by WhatsApp can be sent.

Sending workflow


Personalize messages

Templates may contain placeholders such as:
Provide values using the params array. Values are substituted automatically in the order they appear.

Template request structure

The request body differs slightly depending on the type of WhatsApp template being sent.
  • Marketing and Utility templates support media attachments in addition to dynamic placeholders.
  • Authentication templates are designed for one-time password (OTP) delivery and support only plain text verification messages.
Include content.mediaUrl only when your approved template contains an image, video, or document.

Request body fields

Each object inside destination_addr can contain different placeholder values, allowing you to personalize the same template for multiple recipients in a single API request.

Multiple recipients

The destination_addr field accepts an array of recipients. Each recipient includes:
  • Phone number
  • Placeholder values (params)
This allows one API request to deliver personalized messages to many recipients.
Each recipient can receive different placeholder values.

Media templates

Templates may include media such as:
  • Images
  • Videos
  • PDF documents
  • Other supported attachments
Provide the media using:
The media URL must be publicly accessible.

Interactive templates

Depending on the approved template, messages may include:
  • Call-to-action buttons
  • Quick Reply buttons
  • URL buttons
These components are configured during template creation.

API response

After submitting a template message, the API returns details including:

Delivery Summary

  • Valid recipients
  • Invalid recipients
  • Credits consumed
  • Processing status

Tracking Information

  • Job ID
  • Campaign information
  • Request tracking details
The returned jobId can be used to track the message and correlate delivery report callbacks.