---
title: "Get Service Group"
method: GET
path: "/consumer/v1/servicegroups/{id}"
tags: ["ServiceGroups"]
---

# Get Service Group

`GET /consumer/v1/servicegroups/{id}`

Use this endpoint to return a **Service Group** object. A valid **serviceGroup id** is required. Find serviceGroup id's by using the _GET /consumer/v1/serviceGroups_ endpoint.

## Path parameters

- `id` integer, required

## Response `200`

Success

- ServiceGroupViewModel
  - `object` string, nullable
  - `imageUrl` string, nullable
  - `id` string, nullable
  - `companyId` string, nullable
  - `locationId` string, nullable
  - `name` string, nullable
  - `type` integer
  - `description` string, nullable
  - `isDeleted` boolean

---

[API](https://skmtc.dev/onsched/apis/onsched-consumer-api.md) · [All operations](https://skmtc.dev/onsched/apis/onsched-consumer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onsched/onsched-consumer-api/revisions/1cd2a28a0305/schema)
