TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation User Groups Get Group

Get Group

On this page

GraphQL endpoint: /user

Fetches a single group by id. The group's visibility settings determine who can view it, and secretStorage is only returned to members of the group.

Query

query ($id: ID!) {
  group(id: $id) {
    id
    name
    logoUrl
    visibility
    metadata
    secretStorage
  }
}

Variables

{
  "id": "00000000-0000-4000-8000-000000000001"
}

Response

{
  "data": {
    "group": {
      "id": "00000000-0000-4000-8000-000000000001",
      "logoUrl": "logo_url",
      "metadata": {
        "foo": "bar"
      },
      "name": "Acme",
      "secretStorage": {
        "key": "value"
      },
      "visibility": [
        "PUBLIC"
      ]
    }
  }
}