Skip to main content

Custom marketing templates

Updated: Nov 14, 2025 Learn how to create and send a custom marketing template.

Supported components

Custom marketing templates support the following components: 1 header (optional; all types supported) 1 body (required) 1 footer (optional) Up to 10 buttons (optional; all types supported)

Create a custom marketing template

Use the POST /<WHATSAPP_BUSINESS_ACCOUNT_ID>/message_templates endpoint to create a custom marketing template.

Request syntax

This example syntax creates a template with an image header, body text with 3 named parameters, a footer, and 3 buttons (url, phone number, and quick-reply).

Request parameters

Response syntax

Upon success:

Response parameters

Example request

Example response

Send a custom marketing template

Use the POST /<BUSINESS_PHONE_NUMBER_ID>/messages endpoint to send an approved marketing template.

Request syntax

This example syntax is for sending the template described in the create syntax above, which expects a header image asset, and 3 body text parameter values which will replace their parameter placeholders in the body text string.

Request parameters

Response syntax

Upon success:

Response parameters

Example request

Example response

Did you find this page helpful? Thumbs up icon Thumbs down icon ON THIS PAGE Supported components Create a custom marketing template Request syntax Request parameters Response syntax Response parameters Example request Example response Send a custom marketing template Request syntax Request parameters Response syntax Response parameters Example request Example response