Property label

The label property is used inside button blocks and should hold the visible text for the button.

{
    "from" : "info@example.com",
    "subject" : "Email with a single button",
    "content" : {
        "blocks" : [ {
            "type": "button",
            "label" : "Button"
        } ]
    }
}

For more information and more examples, please check the documentation of button blocks.

Found a typo?

You can find this documentation page on GitHub.
Propose a change