Create a WhatsApp message template. Note: Templates must be approved by Meta before use.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Template created.
Template name (must match WhatsApp template name).
"order_confirmation"
Language code.
"en"
Template body with variables: {{1}}, {{2}}, etc.
"Hi {{1}}, your order {{2}} has shipped."
WhatsApp template category.
UTILITY, MARKETING, AUTHENTICATION draft, pending, approved, rejected List of variable names for documentation.
Type of header (text, image, video, document).
Header content (text or media URL).
Footer text for the template.
Template buttons.
WhatsApp-specific template information.