Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.77 KB

File metadata and controls

30 lines (18 loc) · 1.77 KB

CreateWhatsAppTemplateRequest

Properties

Name Type Description Notes
accountId String WhatsApp social account ID
name String Template name (lowercase, letters/numbers/underscores, must start with a letter)
category CategoryEnum Template category
language String Template language code (e.g., en_US)
components List<Object> Template components (header, body, footer, buttons). Required for custom templates, omit when using library_template_name. [optional]
libraryTemplateName String Name of a pre-built template from Meta's template library (e.g., &quot;appointment_reminder&quot;, &quot;auto_pay_reminder_1&quot;, &quot;address_update&quot;). When provided, the template is pre-approved by Meta with no review wait. Omit `components` when using this field. [optional]
libraryTemplateBodyInputs Object Optional body customizations for library templates. Available options depend on the template (e.g., add_contact_number, add_learn_more_link, add_security_recommendation, add_track_package_link, code_expiration_minutes). [optional]
libraryTemplateButtonInputs List<CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInner> Optional button customizations for library templates. Each item specifies button type and configuration (e.g., URL, phone number, quick reply). [optional]

Enum: CategoryEnum

Name Value
AUTHENTICATION "AUTHENTICATION"
MARKETING "MARKETING"
UTILITY "UTILITY"