Detail Message Templates

Untuk mengambil message templates, buat panggilan GET ke /message-templates/{{ MESSAGE_TEMPLATE_ID }} .

Contoh

Sampel request:

curl -X GET 'https://waofficial.botika.online/api/whatsapp/v1/message-templates/{{ MESSAGE_TEMPLATE_ID }}' \
-H 'Authorization: Bearer {{ API_TOKEN }}'

Response yang berhasil menyertakan objek dengan pengidentifikasi untuk message template:

{
    "data": [
        {
            "id": {{ MESSAGE_TEMPLATE_ID }}
            "name": "{{ MESSAGE_TEMPLATE_NAME }}",
            "category": "{{ MESSAGE_TEMPLATE_CATEGORY }}",
            "language": "{{ MESSAGE_TEMPLATE_LANGUAGE }}",
            "status": "{{ MESSAGE_TEMPLATE_STATUS }}",
            "quality": "{{ MESSAGE_TEMPLATE_QUALITY }}"
            "components":[
                {
                    "message template componenets"
                }
            ],
            "created_at": "{{ MESSAGE_TEMPLATE_CREATED_AT }}",
            "updated_at": "{{ MESSAGE_TEMPLATE_UPDATED_AT }}",
        }
    ]
}

Copyright © 2023 Botika Teknologi Indonesia