Skip to content

Message Templates

Updated: Jun 30, 2026

Messenger media template card with a runway video, 'Summer formal fashion show' title, and 'Apply coupon' and 'Visit us' buttonsMessenger generic template card showing a man in a blue suit, 'Summer collection 2019', and 'Shop this look' and 'Another look' buttonsMessenger carousel of template cards, the first showing a woman on a beach with 'Personal Style Consultation' and a 'Schedule now' button

Message templates let you combine buttons, images, lists, and more alongside text in a single message, going beyond what standard text messages support. Use templates for many purposes, such as displaying product information, asking the message recipient to choose from a predetermined set of options, and showing search results.

Available templates

The following templates are available for sending structured messages:

TemplateDescriptionUse case
ButtonText message with up to three attached buttons.Offer the recipient predefined response options or actions to take.
GenericStructured message with a title, subtitle, image, and up to three buttons. Supports a default_action URL.Display product cards, search results, or content previews.
MediaSend images, GIFs, or video as a structured message with a button. Videos and GIFs are playable in the conversation.Share rich media with an optional call-to-action.
ReceiptOrder confirmation with order summary, payment details, and shipping information.Send purchase confirmations and order receipts.
ProductRenders products from your catalog⁠. Product details (image, title, price) are pulled automatically.Showcase products from your catalog in a conversation.
CouponSend a coupon or discount offer in a structured format.Deliver promotional offers or discount codes.
Customer FeedbackNative feedback survey template for measuring customer experience. Supports rating scales and free-text responses.Collect customer satisfaction data after a support interaction.
Image GridGrid of 2 to 6 images in a single message, each with an optional tap action, plus an optional title, subtitle, and up to three buttons.Showcase product variants, a photo gallery, or a small set of related items.
Utility MessagingPre-approved template for order updates, account notifications, and appointment reminders with personalized details and call-to-action buttons.Send transactional updates such as shipping status, appointment reminders, or account alerts.
Structured InformationCollect customer information, such as shipping details, within a conversation.Gather structured details, for example shipping information, from the recipient.

Choosing a template

Use this guide to select the right template for your use case:

Send a message template

To send a message template, send a POST request to the /<PAGE_ID>/messages endpoint with the recipient's Page-scoped ID, the messaging_type, and the message attachment containing the template type and payload with details about the specific template, such as title, images, and buttons.

curl -X POST -H "Content-Type: application/json" -d '{  
  "recipient":{  
    "id":"<PSID>"  
  },  
  "messaging_type":"RESPONSE",  
  "message":{  
    "attachment":{  
      "type":"template",  
      "payload":{  
        "template_type":"<TEMPLATE_TYPE>",  
        "elements":[  
          {  
            "title":"<TEMPLATE_TITLE>",  
            ...  
          }  
        ]  
      }  
    }  
  }  
}' "https://graph.facebook.com/<API_VERSION>/<PAGE_ID>/messages?access_token=<PAGE_ACCESS_TOKEN>"

The body of the request follows a standard format for all template types, with the message.attachment.payload property containing the type and content details that are specific to each template type.

Using buttons

Most message templates allow you to incorporate one or more buttons as part of the template. These buttons allow you to offer the message recipient actions they can take in response to the template.

The button types you can use vary by template. See the specific template reference documentation for more information.

For more on button types available in the Messenger Platform, see Buttons.

Unofficial mirror for reference/search purposes. All content originates from developers.facebook.com — see the source link at the top of each page. Machine-readable indexes: llms.txt · llms-full.txt · About