WhatsappBusinessTemplates
Description#
WhatsappBusinessTemplates module allows external applications to manage Whatsapp Business templates. This includes retrieving WhatsApp templates and deleting templates when no longer needed.
Entity Model#
ExternalWhatsappBusinessTemplate#
| Field | Type | Description |
|---|
_id | ID! | Unique identifier of the WhatsApp template. |
name | String! | Name of the template. |
templateId | String! | Unique template ID from WhatsApp Business. |
templateType | String! | Template type (text, media, etc.). |
message | String! | Body message content. |
example | String | Example usage of the template. |
footer | String | Footer text if present. |
header | String | Header text if present. |
reason | String | Reason for rejection (if any). |
buttons | [WhatsAppBusinessTemplateButton!]! | List of interactive buttons. |
exampleMedia | String | Example media file. |
status | String! | Current approval status of the template. |
sampleMedia | WhatsAppBusinessTemplateSampleMedia | Sample media object. |
qpienFields | [WhatsAppBusinessTemplateQpienField!]! | Qpien-specific fields for custom use. |
createdAt | Date! | Date when created. |
Queries#
Get Whatsapp Business Template#
Use this query to get Whatsapp Business template.Get Whatsapp Business Template List#
Use this query to get Whatsapp Business template list.
Example Usage#
Query Example — Get Whatsapp Business Template#
Modified at 2025-09-29 08:04:42