> ## 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 Members

Lists memberships in a space or chat.

<Note>
  External Documentation

  To learn more, visit the [Google Chat documentation](https://developers.google.com/chat/api/reference/rest/v1/spaces.members/list).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
  | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Chat      | The resource name of the chat.<br />Format: spaces/{space}.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
  | Filter    | A query filter. You can filter memberships by a member's role (role) and type (member.type).<br /><br />To filter by role, set role to ROLE\_MEMBER or ROLE\_MANAGER.<br />To filter by type, set member.type to HUMAN or BOT.<br />To filter by both role and type, use the AND operator. To filter by either role or type, use the OR operator.<br /><br />For example, the following queries are **valid**:<br />role = "ROLE\_MANAGER" OR role = "ROLE\_MEMBER"<br />member.type = "HUMAN" AND role = "ROLE\_MANAGER"<br /><br />The following queries are **invalid**:<br />member.type = "HUMAN" AND member.type = "BOT"<br />role = "ROLE\_MANAGER" AND role = "ROLE\_MEMBER" |
  | List From | From which type of space to list the members.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
  | Page Size | The maximum number of memberships to return. The service might return fewer than this value.<br />If unspecified, at most 100 memberships are returned.<br />The maximum value is 1,000. If you use a value more than 1,000, it's automatically changed to 1,000.                                                                                                                                                                                                                                                                                                                                                                                                                    |
  | Space     | The resource name of the space.<br />Format: spaces/{space}.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter               | Description                                                                                                                                                                                                                                                                                                                  |
  | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Delegated User Override | Perform the action on behalf of another user, overriding the delegated user defined in the connection.<br /><br />If not specified, the delegated user is the one provided in the connection.<br /><br />Has no effect when using an OAuth connection.<br /><br />NOTE: the connection details are not edited by this input. |
  | Page Token              | A page token, received from a previous list spaces call. Provide this parameter to retrieve the subsequent page.<br />When paginating, the filter value should match the call that provided the page token. Passing a different value may lead to unexpected results.                                                        |
</div>

## Example Output

```json theme={"dark"}
{
	"memberships": [
		{
			"name": "spaces/AAAFF75edfb4/members/42342978345091345",
			"state": "JOINED",
			"member": {
				"name": "users/42342978345091345",
				"type": "HUMAN"
			},
			"createTime": "2023-08-23T08:44:26.313840Z",
			"role": "ROLE_MANAGER"
		}
	]
}
```

## Workflow Library Example

[List Members with Google Chat and Send Results Via Email](https://library.blinkops.com/workflows/list-members-with-google-chat-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-members-with-google-chat-and-send-results-via-email/canvas" />
</div>
