SyncTemplates fetches templates from Meta and updates local cache.
POST/api/v1/engagements/integrations/whatsapp/:channelConfigId/templates/sync
Syncs all templates for the specified channel configuration. New templates are added, existing ones updated, and removed templates are deleted from the local database.
Errors
- NOT_FOUND: Channel configuration not found
- FAILED_PRECONDITION: Configuration not verified
- INTERNAL: Meta API error
Request
Responses
- 200
- default
A successful response.
An unexpected error response.