Skip to content

Templates

The template API covers the full lifecycle: create, edit, delete, list, bulk status change and sync from Meta.

Endpoints

MethodRouteDescription
POST/v1/templates/{did}Create template
PUT/v1/templates/{did}/{messageTemplateId}Edit template
DELETE/v1/templates/{did}/{messageTemplateId}Delete template
GET/v1/templatesList templates
PATCH/v1/templates/statusBulk status change
POST/v1/templates/sync-from-metaSync from Meta
GET/v1/templates/{messageTemplateId}/channel-campaigns-groupedList assignments grouped by campaign
POST/PUT/DELETE/v1/templates/{messageTemplateId}/channel-campaignsChannel-campaign assignment

Template statuses

StatusMeaning
PENDINGUnder review (up to 24h)
APPROVEDReady to send
REJECTEDRejected — check rejection_info
PAUSEDPaused due to negative feedback
DISABLEDDisabled due to recurring negative feedback
ARCHIVEDInactive 12+ months

General notes

  • The name and language cannot be changed when editing.
  • The components are replaced entirely on edit (no partial merge).
  • After an edit, the template returns to PENDING for review.
  • Approved templates: max 10 edits in 30 days, or 1 per 24h.
  • Rejected/Paused: no edit limit.