Update an existing template. Supports the same payload structure as template creation.
UPDATING during review| Field | Update Restrictions |
|---|---|
language | Cannot be changed (must match original) |
category | May be locked if template is approved |
header.media.file | Required only when changing header.media.type |
provider_id (treated as new creation)Changing Template Text
body.text and adjust body.variables array to match new placeholders:Removing Header
header to null or omit it:Changing Button URLs
Adding/Removing Footer
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the workspace.
ID of the template.
"login_otp_template"
Language cannot be changed after creation
"en"
Category may be restricted based on template status
MARKETING, UTILITY, AUTHENTICATION Option 2: Text Header
60Required for AUTHENTICATION category
Required for AUTHENTICATION category
1 <= x <= 1440Required for AUTHENTICATION category