Skip to main content
POST
Post a message to a Microsoft Teams channel

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Path Parameters

teamId
string
required

Team ID from the joined teams list.

Required string length: 1 - 512
channelId
string
required

Channel ID from the team's channels list.

Required string length: 1 - 1024

Body

application/json
content
string
required
Required string length: 1 - 20000
confirmSend
boolean
required

Must be true only after the user explicitly asked to post this message to this channel.

subject
string

Optional subject line for a new channel post.

Required string length: 1 - 255

Response

Teams channel message posted.

ok
boolean
required
message
object
required