curl --request POST \
--url https://api.example.com/max/commands/add-announcer \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"accountId": "<string>",
"chatId": 123,
"buttons": [
{
"text": "<string>",
"url": "<string>"
}
],
"trigger": "<string>"
}
'