Core resources
Administration
Booking flow
Calendars which are being imported. Useful for syncing bookings with services like Airbnb or booking.com.
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone | null
Timestamp at which the calendar last received new events
active
boolean
Whether the external calendar is active
error
text | null
Error message if the calendar could not be synced
ical_url
text
URL of the iCal feed
last_synced
timestamp with time zone | null
Timestamp at which the calendar was last synced
name
text | null
Name of the calendar
sync_requested_at
timestamp with time zone | null
Timestamp at which a sync was last requested
time_offset
integer
tld
text
{"id": "00000000-0000-0000-0000-000000000000","product_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-12-06T03:27:06.925Z","updated_at": "2024-12-06T03:27:06.925Z","active": true,"error": "","ical_url": "","last_synced": "2024-12-06T03:27:06.925Z","name": "","sync_requested_at": "2024-12-06T03:27:06.925Z","time_offset": 0,"tld": ""}
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the product this calendar is related to
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Timestamp at which the calendar last received new events
active
Filter<>
Whether the external calendar is active
error
Filter<>
Error message if the calendar could not be synced
ical_url
Filter<>
URL of the iCal feed
last_synced
Filter<>
Timestamp at which the calendar was last synced
name
Filter<>
Name of the calendar
sync_requested_at
Filter<>
Timestamp at which a sync was last requested
time_offset
Filter<>
tld
Filter<>
200
A list of external calendars with the selected columns
206
Partial Content
GET
/external_calendars
curl -X GET "https://api.bookingmood.com/v1/external_calendars?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<ExternalCalendar>
| Array<Partial<ExternalCalendar>>
201
The newly created external calendars with the selected columns
POST
/external_calendars
curl -X POST "https://api.bookingmood.com/v1/external_calendars" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the product this calendar is related to
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Timestamp at which the calendar last received new events
active
Filter<>
Whether the external calendar is active
error
Filter<>
Error message if the calendar could not be synced
ical_url
Filter<>
URL of the iCal feed
last_synced
Filter<>
Timestamp at which the calendar was last synced
name
Filter<>
Name of the calendar
sync_requested_at
Filter<>
Timestamp at which a sync was last requested
time_offset
Filter<>
tld
Filter<>
204
The deleted external calendars with the selected columns
DELETE
/external_calendars
curl -X DELETE "https://api.bookingmood.com/v1/external_calendars" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the product this calendar is related to
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Timestamp at which the calendar last received new events
active
Filter<>
Whether the external calendar is active
error
Filter<>
Error message if the calendar could not be synced
ical_url
Filter<>
URL of the iCal feed
last_synced
Filter<>
Timestamp at which the calendar was last synced
name
Filter<>
Name of the calendar
sync_requested_at
Filter<>
Timestamp at which a sync was last requested
time_offset
Filter<>
tld
Filter<>
Partial<ExternalCalendar>
204
The updated external calendars with the selected columns
PATCH
/external_calendars
curl -X PATCH "https://api.bookingmood.com/v1/external_calendars" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'