# Template Management

Create, update, delete, and query WhatsApp message templates (WhatsApp Cloud API). Templates must be submitted to Meta for approval before use. Supports 11 template types including text-only, media header, carousel, call-to-action, authentication, and flow templates. Use `searchString` to filter by name, category, language, or status.
**Call-to-action (CTA) is an umbrella term, not a single template type.** It covers any template carrying interactive buttons — **quick-reply**, **static/dynamic URL**, **phone-number**, **flow**, and **OTP** buttons — used alone or mixed in one template. The send examples group all of these under the `CTA — …` heading for this reason.
**WhatsApp Lite limitation:** WhatsApp Lite only supports **text** and **media** templates. Interactive template types (call-to-action buttons, carousel, authentication, flow) are not supported on WhatsApp Lite.
**Marketing templates (Cloud API):** Meta requires that marketing templates include an opt-out mechanism (e.g. a quick-reply "Stop" button). Including an opt-out button significantly reduces your block rate — recipients who can unsubscribe gracefully are far less likely to block your number. Templates without an opt-out option risk rejection or may negatively impact your number's quality rating. See the [Account & Number Health](#section/overview/WhatsApp-account-and-number-health) section for full details.

 - [POST /whatsapp-api-service/whatsAppTemplates/createTemplate](https://docs.ecommunicate.co.za/apis/omnichannel/template-management/createtemplate.md): Submit a new WhatsApp message template for Meta approval. The template is validated locally and forwarded to Meta's template review process. Approval typically takes minutes but can take up to 24 hour
 - [PUT /whatsapp-api-service/whatsAppTemplates/updateTemplate](https://docs.ecommunicate.co.za/apis/omnichannel/template-management/updatetemplate.md): Update components of an existing template. The `templateRequest` field must contain the stringified JSON of the new template structure. **Important:** This endpoint performs a full entity save. You mu
 - [DELETE /whatsapp-api-service/whatsAppTemplates/deleteTemplate/{templateId}](https://docs.ecommunicate.co.za/apis/omnichannel/template-management/deletetemplate.md): Permanently delete a WhatsApp template by its ID. This removes the template from both eCommunicate and Meta. Deleted templates cannot be recovered — create a new template if needed.
 - [GET /whatsapp-api-service/whatsAppTemplates/approvalRequest](https://docs.ecommunicate.co.za/apis/omnichannel/template-management/gettemplatestatus.md): Check the current approval status of a template. Returns the template details including status (`pending`, `approved`, `rejected`), rejection reason (if applicable), and the full template structure.
 - [GET /whatsapp-api-service/whatsAppTemplates/getWhatsAppClientTemplates](https://docs.ecommunicate.co.za/apis/omnichannel/template-management/getclienttemplates.md): Retrieve a paginated list of all WhatsApp templates for your account. Use searchString to filter by template name, category, language code, or approval status. Results are sorted by sortField (default
