---
title: "List an account's groups (resolves groupId + customerNumber)"
method: GET
path: "/v1/admin/account/{accountId}/groups"
tags: ["Account"]
---

# List an account's groups (resolves groupId + customerNumber)

`GET /v1/admin/account/{accountId}/groups`

## Path parameters

- `accountId` integer, required

## Response `200`

Default Response

- object
  - `items` object[], required
    - `id` string, required
    - `accountId` number, required
    - `customerNumber` string, required
    - `childCustomerNumber` string, required
    - `creditLimit` string, required
    - `defaultCardProfileIds` string, required
    - `status` string, required
    - `hasLegacyAccount` boolean, required
    - `createdAt` string, required
    - `updatedAt` string, nullable, required
    - `deletedAt` string, nullable, required
  - `page` integer, required
  - `pageSize` integer, required
  - `hasNext` boolean, required
  - `totalItemCount` integer
  - `totalPages` integer

## Other responses

- `400` — Default Response
- `401` — The access to this resource has been denied
- `403` — The access to this resource is forbidden
- `404` — The resource was not found
- `429` — A service error has occurred
- `502` — A service error has occurred
- `504` — A service error has occurred
- `default` — Catch-all error response for any unexpected internal errors

---

[API](https://skmtc.dev/funneldash/apis/surface-admin-api.md) · [All operations](https://skmtc.dev/funneldash/apis/surface-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/funneldash/surface-admin-api/revisions/0dc20381c4a7/schema)
