List Templates - Non Paginated

Endpoint

https://app.wabais.com/api/templates

Method

GET

Authentication

Bearer Token

Body Type

None

Sample Response

{
    "data": [
        {
            "id": "63e9c3d590e3dcceb8079b86",
            "name": "welcome_to_lake_nakuru",
            "template_human_name": "Welcome To Lake Nakuru (en_US)",
            "components": [
                {
                    "type": "HEADER",
                    "format": "IMAGE",
                    "example": {
                        "header_handle": [
                            "https://scontent.whatsapp.net/v/t61.29466-34/305053275_2405589636265251_9134240685348568935_n.jpg?ccb=1-7&_nc_sid=57045b&_nc_ohc=LB9jBfRoxkwAX8F7VrV&_nc_ht=scontent.whatsapp.net&edm=AH51TzQEAAAA&oh=01_AdTEsBNZ_Yl4RSMcuoMHez295MUZcPHMfn0nbhmcLVvq1w&oe=64116C3A"
                        ]
                    }
                },
                {
                    "type": "BODY",
                    "text": "Dear {{1}},\n\nPlease welcome to Lake Nakuru national park.",
                    "example": {
                        "body_text": [
                            [
                                "Felix"
                            ]
                        ]
                    }
                },
                {
                    "type": "FOOTER",
                    "text": "Thank you"
                }
            ],
            "language": "en_US",
            "status": "APPROVED",
            "category": "MARKETING",
            "template_id": "2405589632931918",
            "body_text_examples": null,
            "example_header_file_path": null,
            "created_at": "13-02-2023 05:00 AM",
            "parameters_array": [
                1
            ]
        }
    ]
}