---
title: "Get sharing group by ID"
method: GET
path: "/sharingGroups/view/{sharingGroupId}"
tags: ["SharingGroups"]
---

# Get sharing group by ID

`GET /sharingGroups/view/{sharingGroupId}`

## Path parameters

- `sharingGroupId` integer, required

## Response `200`

Sharing group response

- SharingGroup
  - `id` integer
  - `uuid` string, uuid
  - `name` string
  - `releasability` string
  - `description` string
  - `organisation_id` integer
  - `user_id` integer
  - `active` boolean
  - `local` boolean
  - `sharing_group_orgs` Organisation[]
    - `id` integer
    - `uuid` string, uuid
    - `name` string
    - `url` string
    - `nationality` string, nullable
    - `sector` string, nullable
    - `type` string, nullable
    - `contacts` string, nullable
    - `created` string, datetime
    - `modified` string, datetime
    - `tags` Tag[]
      - `id` integer
      - `name` string
      - `namespace` string, nullable
      - `predicate` string, nullable
      - `value` string, nullable
      - `colour` string
      - `text_colour` string
      - `counter` integer
      - `created` string, datetime
      - `modified` string, datetime
    - `aligments` Alignment[]
  - `user` User
    - `id` integer
    - `uuid` string, uuid
    - `username` string
    - `role_id` integer
    - `individual_id` integer
    - `disabled` boolean
    - `created` string, datetime
    - `modified` string, datetime
    - `organisation_id` integer
    - `organisation` Organisation
      - `id` integer
      - `uuid` string, uuid
      - `name` string
      - `url` string
      - `nationality` string, nullable
      - `sector` string, nullable
      - `type` string, nullable
      - `contacts` string, nullable
      - `created` string, datetime
      - `modified` string, datetime
      - `tags` Tag[]
        - `id` integer
        - `name` string
        - `namespace` string, nullable
        - `predicate` string, nullable
        - `value` string, nullable
        - `colour` string
        - `text_colour` string
        - `counter` integer
        - `created` string, datetime
        - `modified` string, datetime
      - `aligments` Alignment[]
    - `individual` Individual
      - `id` integer
      - `uuid` string, uuid
      - `email` string, email
      - `first_name` string
      - `last_name` string
      - `full_name` string
      - `position` string
      - `tags` Tag[]
        - `id` integer
        - `name` string
        - `namespace` string, nullable
        - `predicate` string, nullable
        - `value` string, nullable
        - `colour` string
        - `text_colour` string
        - `counter` integer
        - `created` string, datetime
        - `modified` string, datetime
      - `aligments` Alignment[]
      - `created` string, datetime
      - `modified` string, datetime
    - `role` Role
      - `id` integer
      - `name` string
      - `is_default` boolean
      - `perm_admin` boolean
      - `perm_sync` boolean
      - `perm_org_admin` boolean
  - `organisation` Organisation
    - `id` integer
    - `uuid` string, uuid
    - `name` string
    - `url` string
    - `nationality` string, nullable
    - `sector` string, nullable
    - `type` string, nullable
    - `contacts` string, nullable
    - `created` string, datetime
    - `modified` string, datetime
    - `tags` Tag[]
      - `id` integer
      - `name` string
      - `namespace` string, nullable
      - `predicate` string, nullable
      - `value` string, nullable
      - `colour` string
      - `text_colour` string
      - `counter` integer
      - `created` string, datetime
      - `modified` string, datetime
    - `aligments` Alignment[]
  - `created` string, datetime
  - `modified` string, datetime

## Other responses

- `403` — Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.
- `405` — Method not allowed. Your User Role is not allowed to access this resource.
- `default` — Unexpected API error

---

[API](https://skmtc.net/cerebrate-project/apis/cerebrate-project-api.md) · [All operations](https://skmtc.net/cerebrate-project/apis/cerebrate-project-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cerebrate-project/cerebrate-project-api/versions/50eb2c1b04b4/schema)
