# List Group Members

List the members of a group in the current team (organization).

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Account Operations - Team admin",
    "description": "The official SeaTable API Reference (OpenAPI 3.0).",
    "version": "6.2"
  },
  "servers": [
    {
      "url": "https://{server}",
      "variables": {
        "server": {
          "default": "cloud.seatable.io"
        }
      }
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "metrics-enabled": false,
    "proxy-enabled": false
  },
  "tags": [
    {
      "name": "Groups",
      "description": "Manage groups"
    }
  ],
  "components": {
    "securitySchemes": {
      "AccountTokenAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "This is the [Account-Token](/reference/authentication)."
      }
    },
    "parameters": {
      "org_id": {
        "name": "org_id",
        "in": "path",
        "schema": {
          "type": "integer",
          "minimum": 1
        },
        "required": true,
        "description": "The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin.",
        "example": 1
      },
      "group_id": {
        "name": "group_id",
        "in": "path",
        "schema": {
          "type": "integer",
          "minimum": 1
        },
        "required": true,
        "description": "The ID of the group to query. Can be retrieved from the call [List Groups in Your Team](/reference/listgroups-1).",
        "example": "1"
      }
    }
  },
  "paths": {
    "/api/v2.1/org/{org_id}/admin/groups/{group_id}/members/": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "List Group Members",
        "operationId": "listGroupMembers",
        "description": "List the members of a group in the current team (organization).",
        "security": [
          {
            "AccountTokenAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/org_id"
          },
          {
            "$ref": "#/components/parameters/group_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "org_id": {
                      "type": "integer"
                    },
                    "group_id": {
                      "type": "integer"
                    },
                    "group_name": {
                      "type": "string"
                    },
                    "members": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "contact_email": {
                            "type": "string"
                          },
                          "avatar_url": {
                            "type": "string"
                          },
                          "is_admin": {
                            "type": "boolean"
                          },
                          "role": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "org_id": 1,
                  "group_id": 1,
                  "group_name": "Sample Group",
                  "members": [
                    {
                      "name": "Jasmin Tee",
                      "email": "123456786569491ba42905bf1647fd3f@auth.local",
                      "contact_email": "jasmin@example.com",
                      "avatar_url": "https://cloud.seatable.io/media/avatars/default.png",
                      "is_admin": false,
                      "role": "Member"
                    },
                    {
                      "name": "Ginger Ale",
                      "email": "87654321d1754bb4afa2c2cb7369d244@auth.local",
                      "contact_email": "ginger@example.com",
                      "avatar_url": "https://cloud.seatable.io/media/avatars/default.png",
                      "is_admin": true,
                      "role": "Owner"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "_id": {
    "buffer": {
      "0": 105,
      "1": 212,
      "2": 220,
      "3": 12,
      "4": 20,
      "5": 34,
      "6": 131,
      "7": 31,
      "8": 141,
      "9": 111,
      "10": 187,
      "11": 145
    }
  }
}
```