Channels

Create a channel (add iCal feed)

post/v1/channels

Request

  • Base URL: https://api.frihet.io
  • URL: https://api.frihet.io/v1/channels
  • Auth: API key in header X-API-Key

Request body

propertyIdstring required

ID of the property this channel belongs to

namestring required

Channel name (e.g., "Airbnb", "Booking.com")

type'ical_import' | 'ical_export' | 'api'
feedUrlstring uri

iCal feed URL for import

status'active' | 'paused' | 'error'

Example request

{
  "name": "Airbnb",
  "feedUrl": "https://www.airbnb.com/calendar/ical/12345.ics"
}

Response

Channel created

idstring
propertyIdstring
namestring
typestring
feedUrlstring nullable
statusstring
lastSyncstring date-time nullable
lastSyncEventsinteger
createdAtstring date-time
updatedAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.