---
title: "Return a list of all group types."
method: GET
path: "/Ams/{ClientID}/GroupTypes"
tags: ["Ams"]
---

# Return a list of all group types.

`GET /Ams/{ClientID}/GroupTypes`

## Request

- Base URL: `https://ws.yourmembership.com`
- URL: `https://ws.yourmembership.com/Ams/{ClientID}/GroupTypes`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/yourmembership/apis/ym-rest-services/docs/Ams/:ClientID/GroupTypes/get.ts> (a function with typed inputs; its response is checked against the schema)

Return a list of all group types.

## Path parameters

- `ClientID` integer, required

## Query parameters

- `Status` 'None' | 'Joined' | 'Pending' | 'NotJoined' | 'JoinedOrPending'
- `MemberID` integer
- `ResponseStatus` string
- `BypassCache` boolean
- `DateCached` string, date-time
- `Device` string

## Response `200`

Success

- GroupTypesResponse: GroupTypesResponse
  - `GroupTypeList` GroupType[]
    - `Id` integer
    - `TypeName` string
    - `SortIndex` number, double
    - `Groups` Group[]
      - `Id` integer
      - `Name` string
      - `Status` string
      - `JoinOption` string
  - `Status` 'None' | 'Joined' | 'Pending' | 'NotJoined' | 'JoinedOrPending'
  - `MemberID` integer
  - `ClientID` integer
  - `ResponseStatus` ResponseStatus: ResponseStatus
    - `ErrorCode` string
    - `Message` string
    - `StackTrace` string
    - `Errors` ResponseError[]
      - `ErrorCode` string
      - `FieldName` string
      - `Message` string
      - `Meta` DictionaryStringString: Dictionary<String,String>
    - `Meta` DictionaryStringString: Dictionary<String,String>
  - `BypassCache` boolean
  - `DateCached` string, date-time
  - `Device` string

---

[API](https://skmtc.dev/yourmembership/apis/ym-rest-services.md) - [All operations](https://skmtc.dev/yourmembership/apis/ym-rest-services/llms.txt) - [OpenAPI document](https://skmtc.dev/yourmembership/apis/ym-rest-services/revisions/8d8a2e7e7d56?raw)
