---
title: "Get asset type groups by SubscriberId"
method: GET
path: "/AssetTypes/GetAssetTypeGroups"
tags: ["AssetTypes"]
---

# Get asset type groups by SubscriberId

`GET /AssetTypes/GetAssetTypeGroups`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/AssetTypes/GetAssetTypeGroups`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/AssetTypes/GetAssetTypeGroups/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of asset type groups for the specified subscriber.

## Query parameters

- `subscriberId` integer

## Response `200`

Asset type groups are in the response.

- ServiceChannelServicesMessagingAssetTypesAssetTypeGroup[]
  - `Id` integer: Unique numeric identifier of the asset type group.
  - `SubscriberId` integer: Unique numeric identifier of the subscriber.
  - `Name` string: The name of the asset type group.
  - `FileName` string: The file name of the image attached to the asset type group. For example, *audioequipment.png* or *AEE323FF8091.jpeg*.
  - `FilePath` string: Path snippet to the full-size image version attached to the asset type group. For example, *#assets/6cb4f87b-3d5f-49ba-9971-11442dcf3d1e*.
  - `ThumbnailPath` string: Path snippet to the reduced-size image version attached to the asset type group. For example, *#assets/7bc49564-5ac4-4002-9ffc-2282483e6df8*.
  - `AssetTypeIds` integer[]: A list of unique numeric identifiers of the asset types.
  - `ImgPath` string: Path to the cloud location of the full-size image version attached to the asset type group.
  - `Uri` string: The URI of the full-size image version attached to the asset type group.
  - `ThumbnailUri` string: The URI of the reduced-size image version attached to the asset type group.
  - `AssetTypeCategoryId` integer: Unique numeric identifier of the asset category.

## Other responses

- `400`: The request was not accepted due to bad syntax, missing parameters, insufficient data, etc. <br/>Error codes: 503 — Bad Request
- `401`: The request is not authorized. <br/>Error codes: 504 — API call rejected by security permissions
- `500`: Something went wrong, and the server was unable to complete your request. <br/>Error codes: 501 — Object reference is not set to an instance of an object

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
