Detail Message Templates

To retrieve message templates, make a GET call to the /message-templates/{{ MESSAGE_TEMPLATE_ID }} .

Example

Sample request:

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

A successful response includes an object with an identifier for the message templates:

{
    "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