---
title: "Get User Memberships"
method: GET
path: "/api/platform/users/{user_id}/memberships"
tags: ["platform"]
---

# Get User Memberships

`GET /api/platform/users/{user_id}/memberships`

FGA-derived organization and group memberships for a single user.

Loaded on-demand by the user-detail pane. Auth0's pipe-separated
identifiers (``auth0|...``, ``google-oauth2|...``) ride through as a
single path segment without further encoding.

## Path parameters

- `user_id` string, required — Auth0 user id, e.g. 'auth0|abc' or 'google-oauth2|123'

## Response `200`

Successful Response

- UserMembership — FGA-derived organizations and groups for a single user. ``linked_subs`` lists every Auth0 ``user_id`` that shares this person's email — the subs joined under one FGA ``user.linked`` anchor so grants and memberships follow the person across logins. It always contains at least the requested ``user_id``; the detail pane surfaces the link only when there is more than one.
  - `userId` string, required
  - `organizations` MembershipOrganization[]
    - `id` string, required
    - `name` string, required
    - `displayName` string, nullable
    - `inherited` boolean
  - `groups` MembershipGroup[]
    - `id` string, required
    - `displayName` string, nullable
    - `organizationId` string, required
    - `organizationName` string, nullable
    - `inherited` boolean
  - `portfolios` MembershipPortfolio[]
    - `id` string, required
    - `name` string, nullable
    - `inherited` boolean
  - `accounts` MembershipAccount[]
    - `id` string, required
    - `name` string, nullable
    - `inherited` boolean
  - `linkedSubs` string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/gocrisp/apis/crisp-app-dock.md) · [All operations](https://skmtc.dev/gocrisp/apis/crisp-app-dock/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gocrisp/crisp-app-dock/revisions/e56bd3c1a9db/schema)
