Skip to main content
PUT
Updates an existing WhatsApp template using form data

Authorizations

Authorization
string
header
required

Your API key as a Bearer token: Authorization: Bearer tg_live_...

Path Parameters

id
string
required

id

Body

application/json

Request body

addSecurityRecommendation
boolean

Authentication OTP fields

autofillText
string
Maximum string length: 255
bodyExamples
string
buttonAction
enum<string>
Available options:
none,
call_to_action,
quick_reply,
mixed
callButtonText
string
Maximum string length: 20
callCountryCode
string
Maximum string length: 5
callPhoneNumber
string
Maximum string length: 20
category
enum<string>
Available options:
utility,
marketing,
service,
authentication
codeExpirationMinutes
integer
Required range: 1 <= x <= 90
ctaButtonText
string
Maximum string length: 20
ctaUrl
string
Maximum string length: 500
headerExamples
string
headerMediaFileId
string
headerMediaHandle
string
Maximum string length: 500
headerText
string
Maximum string length: 60
headerType
enum<string>
Available options:
none,
text,
video,
image,
document
language
string
Required string length: 2 - 10
messageBody
string
Required string length: 1 - 1024
Maximum string length: 60
offerCode
string
Maximum string length: 255
quickReplyButtons
string
status
enum<string>
Available options:
pending,
approved,
rejected,
draft
supportedApps
object[]
Maximum array length: 5
templateName
string
Required string length: 1 - 255
templateType
string
Maximum string length: 50
urlExample
string
Maximum string length: 255
urlType
enum<string>
Available options:
static,
dynamic
whatsappIntegrationId
string
zeroTapTermsAccepted
boolean

Response

OK

data
any
error
object
message
string
meta
object
success
boolean