> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Chats

Retrieve the list of chats that the user is part of.

**Please note that this action is supported only for the delegated (OAuth) method**.

<Note>
  External Documentation

  To learn more, visit the [Microsoft Teams documentation](https://learn.microsoft.com/en-us/graph/api/chat-list?view=graph-rest-1.0\&tabs=http).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                         |
  | ---------------- | ----------------------------------------------------------------------------------- |
  | Expand           | Retrieves related resources. Possible value: members.                               |
  | Filter           | Filters results (rows). For example: startswith(topic,'T')                          |
  | Limit            | Specify the number of chats returned per page in the response. Valid range is 1-50. |
  | Return All Pages | Automatically fetch all resources, page by page.                                    |
</div>

## Example Output

```json theme={"dark"}
{
	"@odata.context": "<string>",
	"@odata.count": 248,
	"value": [
		{
			"id": "<string>",
			"topic": null,
			"createdDateTime": "2020-12-07T08:07:50",
			"lastUpdatedDateTime": "2020-11-12T09:35:18",
			"chatType": "<string>",
			"webUrl": "<string>",
			"tenantId": "<string>",
			"isHiddenForAllMembers": false,
			"onlineMeetingInfo": null,
			"viewpoint": {
				"isHidden": false,
				"lastMessageReadDateTime": "2020-04-29T03:04:53"
			}
		}
	]
}
```

## Workflow Library Example

[List Chats with Microsoft Teams and Send Results Via Email](https://library.blinkops.com/workflows/list-chats-with-microsoft-teams-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-chats-with-microsoft-teams-and-send-results-via-email/canvas" />
</div>
