> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://contentful.com/developers/docs/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://contentful.com/_mcp/server. # Get all space memberships for an organization GET https://api.contentful.com/organizations/{organization_id}/space_memberships Returns a paginated list of all space memberships across the organization. Only organization admins and owners can access this endpoint. Reference: https://contentful.com/developers/docs/references/user-management-api/space-memberships/get-all-space-memberships-for-an-organization ## Authentication - `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer `, where token is your auth token. ## Request ### Path parameters - `organization_id` (string, required) — The organization ID ### Query parameters - `skip` (integer, optional) — Specify an offset to paginate through results - `limit` (integer, optional) — Specify the maximum number of results - `order` (enum, optional) — Specify sort order of result set - Allowed values: `sys.createdAt`, `sys.user.firstName`, `sys.user.lastName`, `sys.user.email` - `include` (enum, optional) — Specify linked resources to include in response - Allowed values: `roles`, `sys.user`, `sys.createdBy`, `sys.updatedBy`, `sys.space` - `query` (string, optional) — Full-text search across multiple attributes - `admin` (boolean, optional) — Filter by admin status - `roles.sys.id` (string, optional) — Filter by role ID - `sys.space.sys.id` (string, optional) — Filter by space ID ## Response ### 200 OK - Paginated list of space memberships across the organization - `map from string to any` ## Examples **Response** ```json { "items": [ { "admin": false, "roles": [ { "sys": { "id": "1ElgCn1mi1UHSBLTP2v4TD", "linkType": "Role", "type": "Link" } } ], "sys": { "createdAt": "2025-04-09T20:48:59Z", "id": "jn066pnp3hgr-7uqvFPPLzgtVaezGvjA9U6", "space": { "sys": { "id": "jn066pnp3hgr", "linkType": "Space", "type": "Link" } }, "type": "SpaceMembership", "updatedAt": "2025-04-09T20:48:59Z", "user": { "sys": { "id": "7uqvFPPLzgtVaezGvjA9U6", "linkType": "User", "type": "Link" } }, "version": 0 } } ], "limit": 25, "skip": 0, "sys": { "type": "Array" }, "total": 1 } ```