Skip to main content

Update Message Template

Update an existing WhatsApp message template.

PATCH/whatsapp/templates/

Headers

NameValue
AuthorizationBearer Access Token
Content-Typeapplication/json

Payload

template_id
string

Template ID to update

category
string

Updated template category (MARKETING/UTILITY)

components
Array of any

Updated template components

Response

{
"message": "Template updated successfully",
"success": true,
"data": {
"id": 1,
"name": "welcome_message",
"template_id": "123456789",
"status": "APPROVED",
"category": "MARKETING",
"language": "en_US",
"created_at": "<created_at timestamp E.g. 2026-01-21T14:43:47.380013>",
"updated_at": "<updated-at timestamp E.g. 2026-01-30T16:26:54.974725>",
"business_account": "<Business Account ID in FreJun>",
"components": [
{
"type": "BODY",
"text": "Hello {{1}}, your appointment is on {{2}}.",
"example": {
"body_text": [
[
"John",
"January 15th"
]
]
}
}
]
}
}