Saltar al contenido principal
PATCH
Pick a calendar or a staff member

Autorizaciones

Authorization
string
header
requerido

An API key from Settings > API keys (lsk_...), which acts on its own business, or a platform key from the PLATFORM_API_KEYS setting (lsp_...), which onboards and manages businesses. Scopes: business:read, business:write, calls:read, contacts:read, contacts:write, appointments:read, appointments:write, messages:read, knowledge:read, knowledge:write, webhooks:manage, billing:manage, phone_numbers:manage, team:manage, businesses:create, users:create. Only platform keys can hold businesses:create and users:create.

Encabezados

LobbyStack-Business
string<uuid>

The business a platform key acts on. Required with a platform key. A per-business key may leave it out; if it sends one, it must be the key's own business.

Parámetros de ruta

connection_id
string<uuid>
requerido

The calendar connection id.

Cuerpo

application/json
calendar_id
string

A writable calendar from GET /calendars/{connection_id}/calendars. Picking another one reads it again, so the staff it covers can't be booked until that finishes.

Required string length: 1 - 255
staff_id
string<uuid> | null

An active staff member from GET /staff, or null for the business's calendar.

Respuesta

OK

data
object
requerido

A calendar account connected to the business.