API Reference

Send Template (CTA button)

Send a template message containing a Call-To-Action (CTA) URL button with dynamic parameters.

Example Request Body

{
    "messaging_product": "whatsapp",
    "recipient_type": "individual",
    "to": "919999595313",
    "type": "template",
    "template": {
        "name": "templatename",
        "language": {
            "code": "code"
        },
        "components": [{
            "type": "button",
            "sub_type": "url",
            "index": "0",
            "parameters": [{
                "type": "payload",
                "payload": "value"
            }]
        }]
    }
}
Language
Click Try It! to start a request and see the response here!