---
title: "Get contact group with related items"
method: GET
path: "/{org_slug}/contact-groups/{id}/detail"
tags: ["Contacts"]
---

# Get contact group with related items

`GET /{org_slug}/contact-groups/{id}/detail`

## Request

- Base URL: `https://api.obelinf.com`
- URL: `https://api.obelinf.com/{org_slug}/contact-groups/{id}/detail`
- Auth: HTTP bearer

Get contact group with related items

## Path parameters

- `org_slug` string, required
- `id` string, required

## Response `200`

Contact group with contacts and children

- object
  - `child_groups` object[], required
    - `contact_count` number, required
    - `created_at` string, required
    - `id` string, required
    - `name` string, required
    - `slug` string, required
    - `description` string, nullable
  - `child_groups_total` number, required
  - `contact_group` object, required
    - `created_at` string, required
    - `id` string, required
    - `name` string, required
    - `slug` string, required
    - `updated_at` string, required
    - `contact_count` number
    - `description` string, nullable
    - `parent_id` string, nullable
    - `parent_name` string, nullable
  - `contacts` object[], required
    - `created_at` string, required
    - `id` string, required
    - `name` string, required
    - `tags` object[], required
      - `id` string, required
      - `tag_id` string, required
      - `tag_name` string, required
      - `tag_color` string, nullable
    - `email` string, nullable
    - `phone` string, nullable
    - `title` string, nullable
  - `contacts_total` number, required
  - `tags` object[], required
    - `id` string, required
    - `tag_id` string, required
    - `tag_name` string, required
    - `tag_color` string, nullable

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/obelinf/apis/obelinf-api.md) · [All operations](https://skmtc.dev/obelinf/apis/obelinf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/obelinf/apis/obelinf-api/revisions/463fcf791828?raw)
