---
title: "Get a list of Market Segmentation Groups."
method: GET
path: "/market-segmentation/v1/groups"
tags: ["Market Segmentation"]
---

# Get a list of Market Segmentation Groups.

`GET /market-segmentation/v1/groups`

## Request

- Base URL: `https://api.cloudbeds.com`
- URL: `https://api.cloudbeds.com/market-segmentation/v1/groups`
- Auth: OAuth 2
  - Authorization code: `https://api.cloudbeds.com/auth/oauth/authorize`
  - Token URL: `https://api.cloudbeds.com/auth/oauth/token` scopes: `read:marketsegment`

## Query parameters

- `offset` integer
- `limit` integer

## Headers

- `x-property-id` string, required

## Response `200`

List of Market Segmentation Groups.

- GroupListResponseSchema
  - `limit` integer
  - `offset` integer
  - `data` GroupResponseSchema[], nullable
    - `id` string
    - `name` string
    - `code` string
    - `description` string
    - `canEdit` string[]
    - `canDelete` boolean
    - `canDisable` boolean
    - `createdAt` string, Y-m-d\TH:i:sP
    - `updatedAt` string, Y-m-d\TH:i:sP, nullable

## Other responses

- `400`: Bad request response.
- `403`: Forbidden response.
- `500`: Internal server error.

---

[API](https://skmtc.dev/cloudbeds/apis/cloudbeds-api-v2.md) - [All operations](https://skmtc.dev/cloudbeds/apis/cloudbeds-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudbeds/apis/cloudbeds-api-v2/revisions/69bffac143cc?raw)
