---
title: "Get Memberships"
method: GET
path: "/api/team/memberships"
tags: ["team"]
---

# Get Memberships

`GET /api/team/memberships`

## Request

- Base URL: `https://zsign.io` (the document declares no server; this is the origin it was published from)
- URL: `https://zsign.io/api/team/memberships`
- Auth: HTTP bearer

Every org the caller can switch to, home first, plus which one is
selected now. Resolves through get_org_context so a brand-new user's
personal org exists by the time this lists it.

## Response `200`

Successful Response

- MembershipsResponse: GET /api/team/memberships -- the switcher's data. `is_personal` marks the home org (org_service.home_org), which is always first.
  - `active_org_id` string, uuid, required
  - `orgs` MembershipOrg[], required
    - `id` string, uuid, required
    - `name` string, nullable
    - `role` string, required
    - `is_personal` boolean, required

---

[API](https://skmtc.dev/zsign/apis/zsign-api.md) · [All operations](https://skmtc.dev/zsign/apis/zsign-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zsign/apis/zsign-api/revisions/a674ac4137ba?raw)
