whatsapp-templates

Update a message template

Updates a template. Its content can only be changed while the template is still a local draft or has been rejected — an approved template has to be replaced by a new one.

patch/api/v1/whatsapp_templates/{template_id}

Request

  • Base URL: https://api.izap.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.izap.ai/api/v1/whatsapp_templates/{template_id}
  • Auth: HTTP bearer

Path parameters

template_idstring uuid required

Headers

business-idstring uuid required

Request body

display_namestring nullable
languagestring nullable
category'marketing' | 'utility' | 'authentication'

WhatsApp/Meta template category. Drives approval rules and pricing.

header_format'none' | 'text' | 'image' | 'video' | 'document'
header_textstring nullable
header_media_document_idstring uuid nullable
body_textstring nullable
footer_textstring nullable
call_permission_requestboolean nullable
example_variablesstring[] nullable

Response

Successful Response

namestring required
display_namestring nullable
languagestring
category'marketing' | 'utility' | 'authentication'

WhatsApp/Meta template category. Drives approval rules and pricing.

header_format'none' | 'text' | 'image' | 'video' | 'document'
header_textstring nullable
header_media_document_idstring uuid nullable
body_textstring required
footer_textstring nullable
call_permission_requestboolean

Add Meta's call permission request component (marketing/utility only, no buttons).

example_variablesstring[]
idstring uuid required
business_idstring uuid required
waba_idstring nullable
status'draft' | 'pending' | 'approved' | 'rejected' | 'paused' | 'disabled' required

Lifecycle/approval status of a template.

DRAFT is local-only (not yet submitted to Meta). The remaining values mirror the statuses returned by the WhatsApp Cloud API.

provider_template_idstring nullable
rejection_reasonstring nullable
quality_scorestring nullable
last_synced_atstring date-time nullable
createdstring date-time required
modifiedstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.