capabilities.work

Post Channel Announcement

A 2-step recipe with Microsoft Teams. We can help you get access.

Recipe · 2 steps

Post Channel Announcement

Resolve a channel by name and post an announcement, branching when missing.

  1. List the channels in the team so the caller can confirm the target channel exists before posting.
  2. Post the announcement message into the target channel.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer token with Channel.ReadBasic.All and ChatMessage.Send scopes.
  • teamId: The unique identifier of the team.
  • channelId: The channel id to post the announcement to once channels are confirmed.
  • announcement: The HTML body of the announcement message.
For your developer

Arazzo workflow microsoft-teams:post-channel-announcement, 2 operations: listChannels → sendChannelMessage. Specs on APIs.io.