---
title: "List hosted tenant customer groups"
method: GET
path: "/tenant/customer-groups"
---

# List hosted tenant customer groups

`GET /tenant/customer-groups`

## Request

- Base URL: `https://api.gravityads.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gravityads.dev/tenant/customer-groups`
- Auth: HTTP bearer

## Response `200`

Tenant customer groups

- object
  - `status` 'tenant_customer_group_status_ready' | 'tenant_customer_group_status_unconfigured' | 'tenant_customer_group_status_degraded' | 'tenant_customer_group_upserted' | 'tenant_customer_group_upsert_unconfigured' | 'tenant_customer_group_upsert_failed' | 'tenant_customer_group_upsert_degraded', required
  - `tenant_id` string, required
  - `customer_group_id` string
  - `customer_group_count` integer, required
  - `customer_groups` object[], required
  - `platform_account_count` integer
  - `platform_accounts` object[]
  - `discovered_platform_account_count` integer
  - `over_limit_platform_account_count` integer
  - `plan_account_limit` object
  - `database_url_configured` boolean, required
  - `hosted_auth_context` object
  - `raw_secrets_returned` false, required

---

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