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

# Membership

> A membership — the join between a member and a Space, carrying role, status, and
plan access. Network memberships are the join on the Network itself.



**Kind**: `object`

## Implements

- `DatabaseRecord`
- `Node`

## Fields

**`accessPathPlans`**: `PaymentPlanConnection!`

The Payment Plans granting the member access to this Space, via an active or
past-due subscription or a one-time purchase. Empty for direct access.

**Arguments:**

- `after`: `String` — Returns the elements in the list that come after the specified cursor.
- `before`: `String` — Returns the elements in the list that come before the specified cursor.
- `first`: `Int` — Returns the first _n_ elements from the list.
- `last`: `Int` — Returns the last _n_ elements from the list.

---

**`accessPathSource`**: `MembershipAccessPathSource!`

How the member gained access: directly, or through one or more Payment Plans.

---

**`id`**: `ID!`

ID of the object.

---

**`joinedAt`**: `ISO8601DateTime!`

When the member joined — the membership's creation time.

---

**`lastActiveAt`**: `ISO8601DateTime`

When the member last visited the Space this membership joins. Restricted to Network Hosts and Moderators.

**Required scopes:** `host:read:network`, `host:read:network_members`, `host:write:network_members` (any one)

---

**`member`**: `Member!`

The member this membership joins to the Space.

---

**`resourceId`**: `ID!`

Resource ID for this object, for interop with the Admin API.

---

**`role`**: `MembershipRole!`

The member's role on the Space this membership joins (the Network itself for Network memberships).

---

**`status`**: `MembershipStatus`

The membership's lifecycle status. Visible to the member themselves and to
Network Hosts and Moderators; null for other viewers.



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