Manage WhatsApp Message Templates
WhatsApp requires pre-approved message templates for business-initiated conversations. Use the Telnyx Management API to create, review, and manage templates programmatically.For template best practices and approval tips, see the Approval Tips guide.
Template Lifecycle
Templates must be approved by Meta before they can be used. Review typically takes 24-48 hours.List Templates
Retrieve all templates for your WhatsApp Business Account.Filter by Status
Response
Create a Template
Submit a new template for Meta review.Authentication Template
Authentication templates include an OTP code with a copy-code button.Marketing Template
Marketing templates support rich media headers, body text with parameters, and call-to-action buttons.Utility Template
Utility templates are for transactional updates like order confirmations, shipping notifications, and account alerts.Get a Template
Retrieve details of a specific template by ID.Update a Template
Edit a template’s content. Only templates inAPPROVED or REJECTED status can be updated. Updated templates are re-submitted for Meta review.
Delete a Template
Remove a template permanently. This action cannot be undone.Template Categories
Choose the most specific category. Meta may reclassify templates that don’t match their declared category, which can affect pricing and delivery.
Authentication Rules
- Must contain a one-time code or password
- Must include a copy-code or one-tap button
- Cannot include URLs or media (except the OTP button)
- Limited to one code parameter
Naming Rules
- Lowercase letters, numbers, and underscores only
- Maximum 512 characters
- Must be unique within your WABA for each language
- Avoid words like
test,sample,demo— Meta flags these for extra review
Approval Tips
- Always include sample values — Templates with parameters but no
examplefield are almost always rejected - Set a display name first — Templates submitted from numbers without an approved display name get rejected
- Complete your business profile — Add website, description, and category before submitting. Incomplete profiles increase rejection rates
- Edit rejected templates, don’t recreate — Meta enforces a 30-day restriction on reusing template names
- Match category to content — Meta may reclassify miscategorized templates, affecting pricing and delivery
Multi-Language Templates
Create the same template in multiple languages. Each language variant is reviewed independently.Error Handling
Common issues:
- Rejected templates: Review Template Best Practices for approval tips
- Duplicate name: Template names must be unique per language within a WABA
- Invalid parameters: Ensure
examplevalues match parameter count in template body
Next Steps
- Send Messages — Use approved templates to send messages
- Approval Tips — Tips for getting templates approved
- Quickstart — End-to-end setup guide