---
title: "List all policy exceptions for a property."
method: GET
path: "/smart-policies/v1/exceptions"
tags: ["Smart Policy Exceptions"]
---

# List all policy exceptions for a property.

`GET /smart-policies/v1/exceptions`

## Request

- Base URL: `https://api.cloudbeds.com`
- URL: `https://api.cloudbeds.com/smart-policies/v1/exceptions`
- Auth: OAuth 2
  - Authorization code: `https://api.cloudbeds.com/auth/oauth/authorize`
  - Token URL: `https://api.cloudbeds.com/auth/oauth/token` scopes: `read:rate`

## Query parameters

- `filters` QueryParameterDynamicFilterSchema
  - `filters` DynamicFilterSchema: Represents a logical group of filters with keys like 'and' or 'or'
    - `and` union[]: Logical operator grouping filters or nested logical groups
      - union
        - DynamicFilterFieldSchema: Represents a single filter condition
          - `field` string: The field to apply the filter on
          - `operator` 'greater_than_or_equal' | 'greater_than' | 'less_than_or_equal' | 'less_than' | 'equal' | 'in' | 'not_in' | 'is_null' | 'is_not_null' | 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'starts_with' | 'not_starts_with' | 'ends_with' | 'not_ends_with' | 'is_empty' | 'is_not_empty': The operator to use for the filter
          - `value` union: The value for the filter
            - string
            - string, date-time
            - string, date
            - integer
            - boolean
            - string[]
            - integer[]
            - string[]
            - string[]
        - DynamicFilterSchema (recursive)
    - `or` union[]: Logical operator grouping filters or nested logical groups
      - union
        - DynamicFilterFieldSchema: Represents a single filter condition
          - `field` string: The field to apply the filter on
          - `operator` 'greater_than_or_equal' | 'greater_than' | 'less_than_or_equal' | 'less_than' | 'equal' | 'in' | 'not_in' | 'is_null' | 'is_not_null' | 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'starts_with' | 'not_starts_with' | 'ends_with' | 'not_ends_with' | 'is_empty' | 'is_not_empty': The operator to use for the filter
          - `value` union: The value for the filter
            - string
            - string, date-time
            - string, date
            - integer
            - boolean
            - string[]
            - integer[]
            - string[]
            - string[]
        - DynamicFilterSchema (recursive)
- `limit` integer
- `offset` integer
- `sort` QueryParameterSortSchema
  - `sort` SortSchema: Represents a list of sort fields to apply to the request
    - `fields` SortFieldSchema[]: The list of fields to sort by
      - `field` string: The field to apply the sort on
      - `direction` 'asc' | 'desc': The direction of the sort

## Headers

- `x-property-id` string, required

## Response `200`

List of policy exceptions.

- PolicyExceptionListResponseSchema
  - `total` integer, required: The total number of items available.
  - `limit` integer, required: The limit for the number of items to return.
  - `offset` integer, required: The offset for the current page of results.
  - `data` PolicyExceptionResponseSchema[], required
    - `id` string
    - `propertyId` string
    - `name` string
    - `policyRootId` string
    - `enabled` boolean
    - `createdBy` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `intervals` PolicyExceptionIntervalResponseSchema[]
      - `startDate` string, date
      - `endDate` string, date
      - `day0` boolean: Sunday (day 0) -- apply exception on this day of the week.
      - `day1` boolean: Monday (day 1) -- apply exception on this day of the week.
      - `day2` boolean: Tuesday (day 2) -- apply exception on this day of the week.
      - `day3` boolean: Wednesday (day 3) -- apply exception on this day of the week.
      - `day4` boolean: Thursday (day 4) -- apply exception on this day of the week.
      - `day5` boolean: Friday (day 5) -- apply exception on this day of the week.
      - `day6` boolean: Saturday (day 6) -- apply exception on this day of the week.
    - `rates` PolicyExceptionRateResponseSchema[]
      - `packageId` string: Package/rate plan ID. 0 = base rate.
      - `roomTypeId` string, nullable: Room type ID.

## 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)
