cURL
curl --request POST \ --url https://whatsrb.com/api/v1/business_accounts/{business_account_id}/templates \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "template": { "name": "<string>", "category": "MARKETING", "language": "en_US", "header_type": "TEXT", "components": {}, "variable_examples": {} } } '
{ "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" } }
Creates the template locally and submits it to Meta for approval.
API key from the WhatsRB dashboard. Format: Bearer wrb_live_xxx
Bearer wrb_live_xxx
Show child attributes
Created