Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
senderId
string

Sync only the WhatsApp Business Account attached to this sender. If omitted, every WhatsApp sender in the project is synced.

Example:

"sender_12345"

Response

Sync completed. Counts are totals across every account synced.

accountsSynced
integer
required

WhatsApp Business Accounts reconciled in this call.

imported
integer
required

Templates that existed on Meta and were created in Zavu by this call.

linked
integer
required

Existing Zavu templates that were matched to a Meta template by name and bound to its Meta ID.

updated
integer
required

Templates whose approval status changed to match Meta.

skipped
integer
required

Meta templates left alone: already linked to a Zavu template, or rejected/disabled on Meta.

errors
string[]
required

Problems hit while syncing. Non-empty with a 200 means part of the sync did not complete — the rest still did.