whatsapp-templates

Create a message template

Creates a template as a local draft. A draft cannot be used for sending until it has been submitted to Meta and approved.

post/api/v1/whatsapp_templates

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
  • Auth: HTTP bearer

Headers

business-idstring uuid required

Request body

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[]
waba_idstring 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.