# rsvp.atmo.space.listMembers

> Published by [atmo.rsvp](https://lexicon.garden/identity/did:plc:b63bmauox6z5rbibwrhxrdnw)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:b63bmauox6z5rbibwrhxrdnw/rsvp.atmo.space.listMembers)
- [Documentation](https://lexicon.garden/lexicon/did:plc:b63bmauox6z5rbibwrhxrdnw/rsvp.atmo.space.listMembers/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:b63bmauox6z5rbibwrhxrdnw/rsvp.atmo.space.listMembers/examples)

## Definitions

### `rsvp.atmo.space.listMembers`

**Type**: `query`

List members of a space. Caller must be a member or the owner.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `spaceUri` | `string` (at-uri) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `members` | `array` | Yes |  |

#### Errors

- **NotFound**
- **Forbidden**

## Raw Schema

```json
{
  "id": "rsvp.atmo.space.listMembers",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "Forbidden"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "members"
          ],
          "properties": {
            "members": {
              "type": "array",
              "items": {
                "ref": "rsvp.atmo.space.defs#memberView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "spaceUri"
        ],
        "properties": {
          "spaceUri": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "description": "List members of a space. Caller must be a member or the owner."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
