# Get the changelog for a listing

`GET /preferences/{id}/changelog`

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

Returns a list of change events for the listing, most recent first. A request returns at most one year of events, ending at `end_date`, and never later than tomorrow.

## Request

`GET https://api.usewheelhouse.com/ss_api/v1/preferences/{id}/changelog`

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 integration partner's unique listing identifier. |

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `start_date` | string (date) | no | Start of the date range to retrieve changes for (YYYY-MM-DD). Defaults to 30 days ago. A `start_date` more than a year before `end_date` is moved forward to one year before `end_date`; to read older history, move `end_date` back as well. |
| `end_date` | string (date) | no | End of the date range to retrieve changes for (YYYY-MM-DD). Defaults to tomorrow. |
| `event` | array of string | no | Return only events of these types (the `event` field of each entry). Defaults to every type. Send more than one comma-separated (`?event=Settings changed,Custom rates`) or in brackets (`?event[]=Settings changed&event[]=Custom rates`). (each item one of: `Prices posted`, `Calendar synced`, `Settings changed`, `Custom rates`, `Reservations imported`) |

### Example request

```bash
curl -X GET 'https://api.usewheelhouse.com/ss_api/v1/preferences/{id}/changelog' \
  -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

List of changelog events

Body (`application/json`): object

- `events` (array of object, required)
  - `time` (string (date-time), required): When the change occurred (ISO-8601).
  - `source` (string, required): The source of the change (e.g. user, API).
  - `event` (string, required): The name of the event.
  - `status` (string, required): The status of the event.
  - `msg` (string, required): A human-readable description of the change.

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

```json
{
  "events": [
    {
      "time": "2026-01-01T00:00:00Z",
      "source": "string",
      "event": "string",
      "status": "string",
      "msg": "string"
    }
  ]
}
```

### 401

API key authorization failed

### 403

Listing authorization failed

### 404

Listing not found
