GET /teams/{team-id}/channels/{channel-id}/messages
Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel).
Servers
- https://graph.microsoft.com/v1.0
Path parameters
Name | Type | Required | Description |
---|---|---|---|
channel-id |
String | Yes |
The unique identifier of channel |
team-id |
String | Yes |
The unique identifier of team |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
$orderby[] |
Array | No |
Order items by property values |
$top |
Integer | No |
Show only the first n items |
$count |
Boolean | No |
Include count of items |
$filter |
String | No |
Filter items by property values |
$skip |
Integer | No |
Skip the first n items |
$select[] |
Array | No |
Select properties to be returned |
$expand[] |
Array | No |
Expand related entities |
$search |
String | No |
Search items by search phrases |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.