{
"chatId": "79876543210@c.us",
"header": "Header text",
"body": "I use Green-API to send this message to you!",
"footer": "Footer text",
"buttons": [
{
"type": "copy",
"buttonId": "1",
"buttonText": "Copy me",
"copyCode": "Text copied"
},
{
"type": "call",
"buttonId": "2",
"buttonText": "Call me",
"phoneNumber": "79329843267"
},
{
"type": "url",
"buttonId": "3",
"buttonText": "GREEN-API",
"url": "https://green-api.com"
}
]
}
curl --location -g --request POST '/waInstance{{idInstance}}/sendInteractiveButtons/{{apiTokenInstance}}' \
--header 'User-Agent: GREEN-API_POSTMAN/1.0' \
--header 'Content-Type: application/json' \
--data-raw '{
"chatId": "79876543210@c.us",
"header": "Header text",
"body": "I use Green-API to send this message to you!",
"footer": "Footer text",
"buttons": [
{
"type": "copy",
"buttonId": "1",
"buttonText": "Copy me",
"copyCode": "Text copied"
},
{
"type": "call",
"buttonId": "2",
"buttonText": "Call me",
"phoneNumber": "79329843267"
},
{
"type": "url",
"buttonId": "3",
"buttonText": "GREEN-API",
"url": "https://green-api.com"
}
]
}'
{
"idMessage": "3EB0C767D097B7C7C030"
}