---
title: "Retrieve an user group"
method: GET
path: "/groups/{id}"
tags: ["User"]
---

# Retrieve an user group

`GET /groups/{id}`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/groups/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/groups/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the properties of an user group.

## Path parameters

- `id` string, required: The unique ID of the resource.

## Response `200`

OK

- object
  - `id` string: The unique ID of the resource.
  - `name` string: The name of user group.
  - `outbound_caller_ids` object[]: A collection of outbound caller IDs.
    - `provider_id` string: The unique ID of the resource.
    - `caller_id` string: Outbound caller id.
    - `description` string: The descriptive information about this outbound caller id.
  - `description` string: The description of user group.

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
