# Retrieve a change feed subscription
Source: https://www.desktopaccountingapi.com/docs/api/reference/operations/changefeedsubscriptionsretrieve/

`GET https://api.desktopaccountingapi.com/v1/change-feed-subscriptions/{id}`

Operation ID: `changeFeedSubscriptions.retrieve`. Tag: Change feed.

Returns a change feed subscription.

Authentication: `Authorization: Bearer <secret key>`.

Example request:

```sh
curl https://api.desktopaccountingapi.com/v1/change-feed-subscriptions/cfs_01j9x4m6v4c8k2t7q0r5s3w1zk \
  -H "Authorization: Bearer $DAAPI_SECRET_KEY"
```

## Path parameters

- `id` (string, required): Unique identifier for the change feed subscription. example `cfs_01j9x4m6v4c8k2t7q0r5s3w1zk`.

## Responses

### 200

The subscription.

Body (application/json): object (ChangeFeedSubscription).

- `id` (string, required): Unique identifier for the change feed subscription. example `cfs_01j9x4m6v4c8k2t7q0r5s3w1zk`.
- `objectType` (string, required): Always `change_feed_subscription`. one of `change_feed_subscription`.
- `createdAt` (string (date-time), required): When the subscription was created. UTC, ISO 8601 with milliseconds. example `2026-10-05T16:03:59.002Z`.
- `updatedAt` (string (date-time), required): When the subscription was last changed. UTC, ISO 8601 with milliseconds. example `2026-10-05T16:03:59.002Z`.
- `projectId` (string, required): Unique identifier for the project. example `proj_01j9x4m6v4c8k2t7q0r5s3w1zf`.
- `resources` (array of string, required): Watched resources, in alphabetical order.
- `intervalMinutes` (integer, required): Minutes between polls of each connection. example `15`.
- `enabled` (boolean, required): Whether connections are polled. A disabled subscription keeps its settings.

### Errors

Every error body is the error object described at https://www.desktopaccountingapi.com/docs/errors/.

- `400`: The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`.
- `401`: The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.
- `404`: The object does not exist in this project. Codes: `RESOURCE_MISSING`.
- `429`: Too many requests. Codes: `RATE_LIMITED`.
- `500`: Unexpected server error. Codes: `INTERNAL_ERROR`.
- `503`: QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.
