List Message Replies
List all replies to a specific message in a channel within a Microsoft Teams team.
SKILL.md
Full skill instructions
List Message Replies
List all replies to a specific message in a channel within a Microsoft Teams team.
API Details
- API Name: Microsoft Teams API
- OpenAPI Ref:
../../openapi/microsoft-teams-openapi.yaml - Endpoint: GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies
- Operation ID: listMessageReplies
- Tag: ChatMessages
Sandbox
- Base URL:
http://localhost:8080/rest/microsoft-teams-api/1.0.0
Required Headers
Authorization: Bearer {access_token}Content-Type: application/json
OAuth Scopes
ChannelMessage.Read.All
Parameters
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| team-id | string | Yes | The unique identifier of the team |
| channel-id | string | Yes | The unique identifier of the channel |
| message-id | string | Yes | The unique identifier of the message |
Example Request
curl -X GET "http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json"
Example Response
{
"value": [
{
"id": "msg-001",
"messageType": "message",
"createdDateTime": "2025-01-20T14:30:00Z",
"body": {
"contentType": "text",
"content": "Hello team, let's sync up on the project status."
},
"from": {
"user": {
"id": "user-001",
"displayName": "Jane Smith"
}
},
"importance": "normal"
}
]
}
Instructions
- Obtain a valid access token with the
ChannelMessage.Read.Allscope. - Identify the team ID, channel ID, and message ID for the message whose replies you want to retrieve.
- Send a GET request to the
/teams/{team-id}/channels/{channel-id}/messages/{message-id}/repliesendpoint. - Parse the
valuearray in the response to access individual reply message objects.
