cURL
curl --request POST \ --url https://whatsrb.com/api/v1/business_accounts/{business_account_id}/templates/sync \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "meta_template_id": "<string>", "name": "<string>", "category": "MARKETING", "status": "approved", "language": "<string>", "header_type": "<string>", "components": {}, "variable_examples": {}, "rejection_reason": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "meta": { "total": 123 } }
Fetches the latest templates from the Meta API and updates the local database.
API key from the WhatsRB dashboard. Format: Bearer wrb_live_xxx
Bearer wrb_live_xxx
OK
Show child attributes