---
title: "Get active exported calendar"
method: GET
path: "/icalendar-api/exported-calendars"
tags: ["Calendar Sync (iCal export)"]
---

# Get active exported calendar

`GET /icalendar-api/exported-calendars`

Any listing can have only 1 exported calendar, composed by Guesty. 
    You can use the following request to retrieve an active exported-calendar for a specified listing. 
    Please, note, the response body will contain either an empty list, or a list with a single item - the exported calendar itself.
    You can use this endpoint to get currently active exported calendar, if you do not have its id.

## Query parameters

- `listingId` string, required

## Response `200`

Exported calendar found

- object
  - `id` string, required — Id of an exported calendar
  - `listingId` string, required — Related listing id
  - `accountId` string, required — Related account id
  - `createdAt` string, required — Time of creation of an exported calendar
  - `updatedAt` string, required — Time of last update of an exported calendar
  - `url` string, required — URL of an exported calendar
  - `lastSyncedAt` string, required — Timestamp of last successful sync of an exported calendar
  - `adjustmentValueStart` number, required — Defines offset for start date of exported calendar events
  - `adjustmentValueEnd` number, required — Defines offset for end date of exported calendar events

## Other responses

- `404` — Listing not found

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/versions/7c62644070f2/schema)
