Skip to main content

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.
Set a display name for the phone number before submitting templates. Templates submitted from numbers without an approved display name are rejected by Meta.
Always include sample values in the example field when your template contains parameters (\{\{1\}\}, \{\{2\}\}). Templates without examples are typically rejected.

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 in APPROVED or REJECTED status can be updated. Updated templates are re-submitted for Meta review.
Editing an approved template resets its status to PENDING while Meta reviews the changes. Your template will be temporarily unavailable for sending.
Edit and resubmit rejected templates rather than creating new ones. Meta enforces a 30-day restriction on reusing template names.

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 example field 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
For detailed best practices and troubleshooting, see our WhatsApp Message Templates Guide on the support center.

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 example values match parameter count in template body

Next Steps