v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Calendar Sync (iCal export)

Create exported calendar link

When you export your Guesty calendar to an external service, 
the events from the Guesty calendar will block the external calendar. 
You must create an exported calendar entity to export data from Guesty via the iCalendar link. 
This entity stores the settings used during the export process, such as the URL, state, and adjustments.
Once the entity is created, the export sync process will be triggered. 
Please note that you can only have one exported calendar per listing. 
After posting your request, you will receive an exported calendar descriptor, which includes the URL property. 
You will use this URL in your other services to pull data from Guesty.
post/icalendar-api/exported-calendars

Request body

listingIdstring required

Listing id

adjustmentValueStart-2 | -1 | 0 | 1 | 2 required

Start date offset

adjustmentValueEnd-2 | -1 | 0 | 1 | 2 required

End date offset

Response

Exported calendar created successfully

idstring required

Id of an exported calendar

listingIdstring required

Related listing id

accountIdstring required

Related account id

createdAtstring required

Time of creation of an exported calendar

updatedAtstring required

Time of last update of an exported calendar

urlstring required

URL of an exported calendar

lastSyncedAtstring required

Timestamp of last successful sync of an exported calendar

adjustmentValueStartnumber required

Defines offset for start date of exported calendar events

adjustmentValueEndnumber required

Defines offset for end date of exported calendar events