---
title: "Get contact counts per group (v2)"
method: GET
path: "/v2/groups/contact-counts"
tags: ["groups"]
---

# Get contact counts per group (v2)

`GET /v2/groups/contact-counts`

Return the contact count for each group in one round-trip. Pass `?groupIds=a,b,c` to scope the query to specific groups; omit it to fetch counts for every group the user owns. Returns `{ data: { counts: { [groupId]: number } } }`.

## Query parameters

- `groupIds` string

## Response `200`

Successful response

- object
  - `data` object, required
    - `counts` object, required

## Other responses

- `400` — Request body failed validation.
- `401` — Missing or invalid API key.
- `403` — Valid key, insufficient permission.
- `404` — Resource does not exist.
- `409` — Request conflicts with the current state of the resource.
- `429` — Rate limit exceeded.
- `500` — Unexpected server error.

## Changes

- **2026-08-27** `a2f71a243839` — 1 info
  - api operation id `getGroupContactCountsV2` was added

[Change history](https://skmtc.dev/getdex/apis/dex-public-api/changes/v2/groups/contact-counts/get.md)

---

[API](https://skmtc.dev/getdex/apis/dex-public-api.md) · [All operations](https://skmtc.dev/getdex/apis/dex-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getdex/dex-public-api/revisions/eb1883ce3c67/schema)
