Edit Template

Edits an existing message template and resubmits it to Meta for review.

Before you call

  • templateId is the template id from Get Templates.
  • Send the full template in the same format as Create New Template. Keep the same name, because names cannot be changed.
  • Send the template's own number in wabaNumbers.
  • Only APPROVED, REJECTED or PAUSED templates can be edited, and only 24 hours or more after their last edit.
  • The category of an APPROVED template cannot be changed.
  • Templates on Dialog360 channels cannot be edited.

How it works

  • After an edit, the template goes back to PENDING until Meta reviews it again.
  • Fails if a broadcast that is in progress uses the template.
  • Returns success: true.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The template ID

Body Params
string
required
length between 1 and 512

Template Name

string
enum
required

Template Language

components
object
required

Template Components

string
enum
required

Template Category

Allowed:
wabaNumbers
array of strings
wabaNumbers
boolean
Defaults to true

Set to true to allow Meta to automatically assign a category. If omitted, the template may be rejected due to miscategorization.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json