Skip to main content
POST
Pulls all existing templates registered on your connected WhatsApp Business Account (WABA) from Meta Graph API v19.0 and upserts them into Sayvy AI’s local database. This updates template review statuses (PENDING, APPROVED, REJECTED), components, and quality ratings.

Authentication

This endpoint requires Bearer token authentication.

Input parameters

The following parameters are accepted in the JSON request body.
string
required
Bearer token for authentication. Format: Bearer <token>.
string
required
UUID of the registered WhatsApp Business phone number channel to synchronize. Example: 8f3b0e2a-71d3-4a5f-9e6b-123456789abc.

Response Fields

boolean
Whether synchronization completed successfully.
string
Informational description of the sync result.
number
Count of templates parsed and upserted into Sayvy AI.


Previous
Get template library
GET /api/v1/templates/library
Next