---
title: "The organizations you are in, with the workspaces you are in and your role."
method: GET
path: "/v1/organizations"
tags: ["organizations"]
---

# The organizations you are in, with the workspaces you are in and your role.

`GET /v1/organizations`

## Request

- Base URL: `https://api.50heads.com`
- URL: `https://api.50heads.com/v1/organizations`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://auth.50heads.com/authorize`, token URL `https://auth.50heads.com/token`; client credentials, token URL `https://auth.50heads.com/token`, scopes: `organization:read`)

Signed in: every organization the flag serves where you are an active member of a workspace; `role` is `admin` when you own or administer one of its open workspaces. With an API key, a connected app or a service account: only the organization of the workspace it works in.

## Response `200`

OK

- OrganizationsListResponse
  - `organizations` object[], required
    - `id` string, required
    - `name` string, required
    - `role` 'admin' | 'member', required
    - `defaultWorkspaceId` string, nullable, required
    - `workspaces` object[], required
      - `id` string, required
      - `name` string, required
      - `role` 'owner' | 'admin' | 'member' | 'viewer' | 'billing', required
      - `closed` boolean, required

## Other responses

- `401`: No key or token, or it expired or was revoked.
- `403`: The key or token lacks the scope (`insufficient_scope`), or the action is not allowed.
- `429`: Too many requests; wait for Retry-After.

---

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