Prathyush P
Prathyush P

Reputation: 413

How to create Announcement in MS teams using incoming webhook APIs

I'm able to send normal messages to ms teams by creating incoming webhook in connectors. I wanted to post announcements using incoming webhook.

This is the payload which i used for normal messages.

{
"@type": "MessageCard",
"summary": "Summary text",
"themeColor": "007f00",
"sections": [
    {
        "themeColor": "007f00",
        "text": "<p>Pragaraph Text</p>"
    }
]}

Can someone please help me to achieve this.

Upvotes: 3

Views: 593

Answers (1)

Gousia Begum
Gousia Begum

Reputation: 2124

Creating Announcements using Webhooks/ Any APIs is not supported.

Upvotes: 1

Related Questions