Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

App API key (format: sk_live_app_* or sk_test_app_*) for app-level operations

Path Parameters

templateId
string
required

The template ID to update

Example:

"wht_abc123"

Body

application/json
components
object[]
required

Updated template components (must include at least a BODY). Only components can be updated - name, language, and category are immutable.

Minimum array length: 1
Example:

Response

Template updated successfully

id
string
required
organizationId
string
required
whatsappBusinessProfileId
string
required
metaTemplateId
string | null
required
name
string
required
language
string
required
category
enum<string>
required
Available options:
MARKETING,
UTILITY,
AUTHENTICATION
status
enum<string>
required
Available options:
PENDING,
APPROVED,
REJECTED,
PAUSED,
DISABLED
components
object[]
required
variableMapping
object | null
required
rejectionReason
string | null
required
qualityScore
string | null
required
createdAt
string
required
updatedAt
string
required