Get Template Message

Response Example
{
    "meta": {
        "code": "RESP_OKAY",
        "message": "Success"
    },
    "data": {
        "templates": [
            {
                "id": 19,
                "emma_template_id": "1457356487940772",
                "namespace": "e0c33801_c325_469b_bdb0_dfd2915b75ea",
                "name": "payment_update_en",
                "components": [
                    {
                        "type": "HEADER",
                        "format": "TEXT",
                        "text": "Payment Update"
                    },
                    {
                        "type": "BODY",
                        "text": "Hello {{1}}, the payment of your order {{2}} has been received"
                    },
                    {
                        "type": "FOOTER",
                        "text": "iSlash"
                    },
                    {
                        "type": "BUTTONS",
                        "buttons": [
                            {
                                "type": "URL",
                                "text": "Order Detail",
                                "url": "https://islash.io/order"
                            },
                            {
                                "type": "PHONE_NUMBER",
                                "text": "Contact Us",
                                "phone_number": "+85298297833"
                            }
                        ]
                    }
                ],
                "language": "en_US",
                "status": "APPROVED",
                "category": "PAYMENT_UPDATE",
                "created_at": 1644220818,
                "updated_at": 1644220818
            }
        ]
    }
}

Last updated