Bookings

Preview provider-backed booking availability

Availability read live from an external booking provider, so you can preview a connection before leads see it. end has to be after start.

API key scopes: bookings:read.

get/api/bookings/availability

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/bookings/availability
  • Auth: one of:
    • API key in cookie luca.session_token
    • API key in header x-api-key
    • HTTP bearer

Query parameters

provider'manual' | 'calendly' | 'cal_com' | 'google_calendar' | 'iclosed' | 'gohighlevel'

Return only records from this provider.

eventTypeIdstring

Identifier of the event type, at the provider.

calendarIdstring

Identifier of the calendar to read, at the provider.

timezonestring

IANA time zone the returned times are expressed in.

startstring date-time nullable

Start of the time range, inclusive.

endstring date-time nullable

End of the time range, exclusive.

leadIdstring uuid

Return only records belonging to this lead.

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Response

ok

provider'manual' | 'calendly' | 'cal_com' | 'google_calendar' | 'iclosed' | 'gohighlevel' required
timezonestring required
source'live_provider' | 'fallback' | 'provider_error'
warningsstring[]

Changes

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