Skip to main content

Update template

PATCH 

/message-server/whatsapp/templates/:templateId

Updates an existing template and submits it to Meta again: status goes back to PENDING.

  • The request replaces the whole content: header, body, footer and buttons are rebuilt from the fields you send, so send again the parts you want to keep.
  • category cannot be changed once the template is APPROVED.
  • 24-hour limit: an APPROVED template cannot be updated within 24 hours of its last update.

Tracked URL buttons are the exception: an update does not change where they redirect. To change the destination of a tracked button and keep it tracked, create a new template.

What an update does to tracked URL buttons
  • Destinations are recorded once: when the URL buttons are first tracked, at creation or by the first update with trackButtonLinks: true.
  • A later update with trackButtonLinks: true appends the new URLs to originalButtonUrls instead of replacing them. A button whose URL you change keeps redirecting to the old destination, and added or reordered URL buttons redirect to the wrong URL.
  • An update without trackButtonLinks: true stops the tracking: the URL buttons open the URLs you sent.

Request​

Responses​

Template updated