Sync templates
POST/templates/sync
Reconciles the local mirror with Meta: creates what is missing, updates what changed and removes what no longer exists.
Only needed in specific cases — templates created directly in Business Manager, or a suspicion that a webhook was lost. Day to day, the mirror keeps itself up to date.
If a sync for the same WABA is already running, the response is 202 and nothing
is triggered twice.
Request
Responses
- 200
- 202
- 401
- 403
- 409
- 422
- 429
Sync finished.
A sync for this WhatsApp Business Account is already running.
Missing, malformed, unknown or revoked token (authentication), or a suspended
account (tenant_inactive).
The resource does not belong to your account (forbidden), or the path is on the
mirror's block list (forbidden_endpoint), or your API key is limited to some numbers and
the operation covers the whole account (forbidden).
No WhatsApp Business Account connected and wabaId omitted (no_waba).
Payload failed validation (invalid_request, detailed in issues) or was
rejected by Meta (meta_error, with the original body in meta).
Rate limit exceeded (rate_limit).
Response Headers
Seconds to wait before retrying.
Which rate limit category applied — send, media or default.
Which bucket the other headers describe — key (the API key), session (the dashboard) or account (the account ceiling).
Request ceiling for this category in the current window.
Requests left in the current window.