---
title: "Get priority groups"
method: GET
path: "/{sub_domain}/api/priority-groups"
tags: ["Priority-Groups"]
---

# Get priority groups

`GET /{sub_domain}/api/priority-groups`

## Request

- Base URL: `https://api.commpeak.com/dialer`
- URL: `https://api.commpeak.com/dialer/{sub_domain}/api/priority-groups`
- Auth: API key in header `Authorization`

Retrieve the priority groups configured in your account.

**When to use.** List your priority groups, or look up a priority group's `id` before reading or updating the skill groups assigned to it. To see the skill groups within one priority group, use `GET /priority-groups/{id}`.

**Filtering and shape.** Filter, order, limit and select fields by any response field. See [Core API Concepts](https://td.commpeak.link/Readme-dialer-api-docs). The response is wrapped as `{ "priorityGroups": [ ... ] }`, where each item has an `id` and a `name`.

**Example.** `GET /api/priority-groups`

## Path parameters

- `sub_domain` string, required: Dialer Name (subdomain)

## Response `200`

Successful Response

- PriorityGroupResponse
  - `priorityGroups` PriorityGroupResult[], required
    - `id` integer, nullable, required: Priority group ID.
    - `name` string, nullable, required: Priority group name.

## Other responses

- `404`: Not Found
- `422`: Validation Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/commpeak/apis/commpeak-dialer-api.md) - [All operations](https://skmtc.dev/commpeak/apis/commpeak-dialer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/commpeak/apis/commpeak-dialer-api/revisions/18c5edc07544?raw)
