Microsoft Teams: posting rules and settings
What a Microsoft Teams channel accepts in Postemi: media, limits, required fields, and the fields of the settings object for the API.
Basics
microsoft-teamsRules
- Microsoft Teams has no platform-specific settings. The __type field is enough in the settings object.
- You connect with a Workflows webhook link (trigger: When a Teams webhook request is received). Office 365 connector links and the old logic.azure.com links do not work.
- Postemi stops at 10 000 characters; Teams refuses messages over 28 KB.
- One-way: Postemi sends, it does not read the channel.
Settings fields
The settings object only needs the __type field. The editor does not show a separate settings section for this channel.
Examples
Each example is one item in the POST /public/v1/posts request's posts array. The envelope around it is always this:
{
"type": "schedule",
"date": "2026-09-15T09:00:00.000Z",
"shortLink": false,
"posts": [ /* the item below */ ]
}{
"integration": { "id": "<channel-id>" },
"value": [{ "content": "<p>The text of the post.</p>", "image": [] }],
"settings": { "__type": "microsoft-teams" }
}The channel ID comes from the channel list, and the path values for images and videos from media upload. The exact schema for the connected account comes from the settings schema endpoint. From the command line, the same thing is the --settings flag. See the CLI examples.