---
title: "The groups the identity provider has pushed."
method: GET
path: "/v1/organizations/current/scim/groups"
tags: ["organizations"]
---

# The groups the identity provider has pushed.

`GET /v1/organizations/current/scim/groups`

## Request

- Base URL: `https://api.50heads.com`
- URL: `https://api.50heads.com/v1/organizations/current/scim/groups`
- 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`)

Organization admins only. Behind the `scim` sub-flag: 404 `not_found` while it is off. The SCIM protocol itself is at `/scim/v2` for the identity provider (Okta, Microsoft Entra ID), with the token as its bearer; see the SCIM setup guide.

## Response `200`

OK

- OrganizationScimGroupsResponse
  - `groups` object[], required
    - `id` string, required
    - `displayName` string, required
    - `externalId` string, nullable, required
    - `members` integer, required
    - `createdAt` string, required
    - `updatedAt` string, 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)
