| 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., "appointment_reminder", "auto_pay_reminder_1", "address_update"). 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] |
| Name | Value |
|---|---|
| AUTHENTICATION | "AUTHENTICATION" |
| MARKETING | "MARKETING" |
| UTILITY | "UTILITY" |