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

# joinSpace

> Join a Space in this Network as the signed-in member. Open Spaces can be
joined by any full member; an invite-only Space by the recipient of an
invitation to it; a paid Space requires a plan that includes it. To ask to
join a private Space, use `createInviteRequest`.

**Required scope:** `write:memberships`



**mutation** `joinSpace(input: JoinSpaceInput!): JoinSpacePayload`

## Arguments

**`input`**: `JoinSpaceInput!` (required)

Parameters for JoinSpace

## Returns

`JoinSpacePayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`outcome`**: `MembershipOutcome`

---

**`space`**: `Space`

## Examples

```graphql Mutation
mutation JoinSpace($input: JoinSpaceInput!) {
  joinSpace(input: $input) {
    clientMutationId
    errors
    outcome
    space {
      archived
      avatarDarkModeUrl
      avatarUrl
      bookmarkedAt
      brandingImages {
        imageType
        url
      }
      createdAt
    }
  }
}
```

```json Variables
{
  "input": {
    "spaceId": "id"
  }
}
```

```json Response
{
  "data": {
    "joinSpace": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "outcome": "ADDED",
      "space": {
        "archived": true,
        "avatarDarkModeUrl": "string",
        "avatarUrl": "string",
        "bookmarkedAt": "value",
        "brandingImages": [
          {
            "imageType": "AVATAR",
            "url": "string"
          }
        ],
        "createdAt": "value"
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.