WhatsApp - Fetch Templates


Endpoint

Use this endpoint to programmatically fetch all synced WhatsApp templates for your account. This is highly useful for populating dropdowns in your CRM, WordPress, or ERP integrations.

https://rebuetext.com/api/v1

{info} This endpoint only returns templates that have been synced to our database. If you recently created a template in the Meta Business Manager, ensure you click Sync Templates in your dashboard first.

Method

Method URI
GET /whatsapp/templates

Query Params (Optional)

You can append these parameters to the URL to filter the results.

Param Type Description
status string Filter templates by their Meta approval status (e.g., APPROVED, REJECTED, PENDING).
language string Filter templates by their language code (e.g., en_US, sw).

Sample Request Example

GET /api/v1/whatsapp/templates?status=APPROVED&language=en_US

Sample Request Header

{
    "Accept": "application/json",
    "Authorization": "Bearer 123456789"
}

Sample Success Response

StatusCode 200

Content

{
    "status": true,
    "data": [
        {
            "id": 12,
            "name": "order_confirmation",
            "language": "en_US",
            "category": "UTILITY",
            "status": "APPROVED",
            "components": [
                {
                    "type": "BODY",
                    "text": "Hello {{1}}, your order {{2}} for {{3}} has been confirmed. Call us at {{4}} if you have questions."
                }
            ],
            "waba": {
                "id": 4,
                "waba_id": "1049281903",
                "business_name": "Cloud Rebue Solutions"
            },
            "created_at": "2026-06-25T14:30:00+03:00"
        }
    ]
}