Send a pre-approved WhatsApp template message. Template messages can be sent at any time#
Important | No 24-Hour Restrictions
Template messages can be sent at any time, regardless of the customer service window. Unlike simple text and media messages, approved templates are not restricted by Meta's 24-hour policy. They are the only message type that can be sent outside a customer service window, making them perfect for marketing campaigns, notifications, and re-engaging customers after extended periods of inactivity.
Required Scope#
Merge Fields#
You can use merge fields in the message text that will be replaced with actual contact data:@{contact_first_name} — Contact's first name
@{contact_last_name} — Contact's last name
@{contact_email} — Contact's email
@{contact_phone} — Contact's phone number
If no contact_id is provided and the phone number doesn't match an existing contact:A new contact is auto-created with the phone number
Requires default lead status, source, and assignee configured in Application settings
Subject to the tenant's contact limit (returns FEATURE_LIMIT_EXCEEDED if exceeded)
Template Validation#
The endpoint validates that all required template parameters are provided:TEXT header: header_field_1 required if template has header parameters
IMAGE header: header_image_url or header_image_file required
VIDEO header: header_video_url or header_video_file required
DOCUMENT header: header_document_url or header_document_file required
Body: field_1 through field_N required for each body parameter