# Get flags for this listing

`GET /listings/{id}/flags`

> Wheelhouse Pro API. Web version: https://docs.usewheelhouse.com/pro/reference/get-listing-flags · OpenAPI spec: https://docs.usewheelhouse.com/pro/openapi.yaml · Operation ID: `getListingFlags` · Tag: Listing Flags · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

Returns all system-managed flags for this listing. Flags are set automatically by Wheelhouse
and are read-only. They convey internal state or signals about the listing.

## Request

`GET https://api.usewheelhouse.com/ss_api/v1/listings/{id}/flags`

Authentication: send your integration API key in the `X-Integration-API-Key` header and your user API key in the `X-User-API-Key` header (see https://docs.usewheelhouse.com/pro/authentication.md).

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | The listing identifier. |

### Example request

```bash
curl -X GET 'https://api.usewheelhouse.com/ss_api/v1/listings/{id}/flags' \
  -H 'X-Integration-API-Key: <your integration API key>' \
  -H 'X-User-API-Key: <your user API key>'
```

Only required parameters and body fields are filled in, with placeholder values. Add the optional ones you need from the lists above; some are required in combination, as their descriptions say.

## Responses

### 200

Successfully retrieved flags

Body (`application/json`): array of object

- `category` (string, required, nullable, one of: `engine`, `info`, `performance`, `settings`): What the flag means for the listing's pricing:

  * `engine` — a setup that keeps Wheelhouse from pricing the listing as recommended, such as fixed prices, a minimum price above the base price, or a maximum price below the minimum.
  * `info` — context about the listing, such as being new to Wheelhouse or having its recommended base price lowered by its booking history.
  * `performance` — how the listing is booking, such as pacing ahead of or behind last year, or going unbooked.
  * `settings` — a pricing setting worth reviewing because it is missing, set unusually high or low, or combined with another setting so that their effects compound or cancel out.

  `null` for an older flag that Wheelhouse no longer raises. New flags can be added to any category, so decide how to treat a flag from its `category` rather than from a list of flag names.
- `description` (string, required): More detailed description of the flag.
- `name` (string, required): Name of the flag. Key-value flags use the format `key:::value`.

Example shape (generated from the schema; placeholder values, not a real response):

```json
[
  {
    "category": "engine",
    "description": "string",
    "name": "string"
  }
]
```

### 401

API key authorization failed

### 403

Listing authorization failed

### 404

Listing not found
