API Reference

Send Template (with variable)

Send a template message that requires text variables (parameters) to be filled in the message body (e.g., "Hi {{1}}, your order is {{2}}").

Example Request Body

{
    "messaging_product": "whatsapp",
    "recipient_type": "individual",
    "to": "number",
    "type": "template",
    "template": {
        "name": "templatename",
        "language": {
            "code": "code"
        },
        "components": [
            {
                "type": "body",
                "parameters": [
                    {
                        "type": "text",
                        "text": "textvalue"
                    }
                ]
            }
        ]
    }
}
Language
Click Try It! to start a request and see the response here!