Microsoft Teams Chats.pinned Chat Message Info API

The chats.pinnedChatMessageInfo API from Microsoft Teams — 4 operation(s) for chats.pinnedchatmessageinfo.

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /chats/{chat-id}/pinnedMessages List pinned messages in a chat · List pinnedChatMessages in a chat #
Ask an LLM
“Which messages are pinned in a Teams chat?”
“Can I filter the pinned messages in a chat?”
Tell an agent
List pinned messages in chat {chat}.
Show pinned messages in chat {chat} matching {filter}.
POST /chats/{chat-id}/pinnedMessages Pin a message in a chat · Pin a message in a chat #
Ask an LLM
“How do I pin a message to a Teams chat?”
“Can I pin a message that doesn't exist yet?”
Tell an agent
Pin message {message} in chat {chat}.
Pin {message} to chat {chat} with type {type}.
GET /chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id} Get a pinned message in a chat · Get pinnedMessages from chats #
Ask an LLM
“What message is pinned at a given position in a chat?”
“Can I fetch one pinned message by its info ID?”
Tell an agent
Get pinned message {info} in chat {chat}.
Show the pinned message info {info} from chat {chat}.
PATCH /chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id} Update a pinned message entry in a chat · Update the navigation property pinnedMessages in chats #
Ask an LLM
“How do I change the details of a pinned message entry I already have in a Teams chat?”
“Can I update an existing pinned message record in a chat instead of pinning a new one?”
Tell an agent
Update pinned message entry {info} in chat {chat} to point to message {message}.
Patch the existing pinned entry {info} in chat {chat} with odata type {odata_type}.
DELETE /chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id} Unpin a message from a chat · Unpin a message from a chat #
Ask an LLM
“How do I unpin a message from a Teams chat?”
“Can I remove a pinned message by its info ID?”
Tell an agent destructive · confirm first
Unpin message {info} from chat {chat}.
Remove pinned message {info} in chat {chat} if ETag {etag} matches.
GET /chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id}/message Get the message behind a pinned message · Get message from chats #
Ask an LLM
“What is the actual message text behind a pinned message?”
“Can I read the message a chat message info points to?”
Tell an agent
Get the message behind pinned info {info} in chat {chat}.
Show the message content of pinned message {info} in chat {chat}.
GET /chats/{chat-id}/pinnedMessages/$count Count pinned messages in a chat · Get the number of the resource #
Ask an LLM
“How many messages are pinned in a Teams chat?”
“Can I count pinned messages matching a filter?”
Tell an agent
Count pinned messages in chat {chat}.
Count pinned messages in chat {chat} matching {filter}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-teams:microsoft-teams-chats-pinnedchatmessageinfo-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-teams-chats-pinnedchatmessageinfo-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OData Service for namespace microsoft.graph Chats.pinned…
  description: This OData service is located at https://graph.microsoft.com/v1.0
  version: v1.0
  x-ms-generated-by:
    toolName: Microsoft.OpenApi.OData
    toolVersion: 0.0.0.0
servers:
- url: https://graph.microsoft.com/v1.0
tags:


# --- truncated at 32 KB (184 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-teams/openapi/microsoft-teams-chats-pinnedchatmessageinfo-api-openapi.yml