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.
WhatsApp template category.
UTILITY, MARKETING, AUTHENTICATION Template buttons (max 3).
3Add 'Do not share this code' disclaimer. Only for AUTHENTICATION templates.
Code expiration time in minutes. Only for AUTHENTICATION templates.
1 <= x <= 90Template 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.
Add 'Do not share this code' disclaimer. Only for AUTHENTICATION templates.
Code expiration time in minutes. Only for AUTHENTICATION templates.
1 <= x <= 90WhatsApp-specific template information.