Update Message Template
Update an existing WhatsApp message template.
PATCH /whatsapp/templates/
Headers
| Name | Value |
|---|---|
| Authorization | Bearer Access Token |
| Content-Type | application/json |
Payload
template_idstring
Template ID to update
categorystring
Updated template category (MARKETING/UTILITY)
componentsarray of object
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" ] ] } } ] }}