---
title: "Gets device groups in the account."
method: GET
path: "/devices/groups"
tags: ["Devices"]
---

# Gets device groups in the account.

`GET /devices/groups`

## Query parameters

- `tree` boolean
- `id` string
- `take` integer
- `page` integer

## Response `200`

OK

- Group[]
  - `id` string, nullable — The group id
  - `name` string, nullable — The group name
  - `parent_id` string, nullable — The parent group id
  - `count` integer, nullable — The number of items in this group
  - `level` integer, nullable — The nested level of this group
  - `family` integer, nullable — The family id
  - `organization_count` integer, nullable — The organization count
  - `children` Group[], nullable — The children groups

---

[API](https://skmtc.net/reveldigital/apis/revel-digital-rest-api.md) · [All operations](https://skmtc.net/reveldigital/apis/revel-digital-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/reveldigital/revel-digital-rest-api/versions/f23a94aea621/schema)
