Booking providers

Connect or reconnect a booking provider

Stores the provider credentials, encrypted, and mints a webhook secret the provider signs its callbacks with. The secret comes back once, in this response, so capture it here. Calling it again on a connected provider replaces the credentials.

Session-only. This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

post/api/bookings/providers/{provider}/connection

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/bookings/providers/{provider}/connection
  • Auth: API key in cookie luca.session_token

Path parameters

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

The provider this operation targets.

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.

Request body

expiresAtstring date-time nullable

Response

ok

provider'manual' | 'calendly' | 'cal_com' | 'google_calendar' | 'iclosed' | 'gohighlevel' required
health'connected' | 'missing_credentials' | 'degraded' required
connectedAtstring nullable required
expiresAtstring nullable required
reconnectRequiredboolean required
webhookSecretstring

Changes

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