Saltar al contenido principal
PATCH
Update a knowledge entry

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

entry_id
string<uuid>
requerido

The knowledge entry id.

Cuerpo

application/json
title
string

The entry's title, or an FAQ's question.

Required string length: 1 - 300
content
string

The entry's text, or an FAQ's answer.

Required string length: 1 - 20000
tags
string[]

Replaces the entry's labels. faq is reserved, because it marks an FAQ, so it is ignored here: an entry keeps its type.

Maximum array length: 100
Required string length: 1 - 255
priority
integer
Rango requerido: -100 <= x <= 100
active
boolean

false stops the receptionist answering from the entry without deleting it.

Respuesta

OK

data
object
requerido

A text entry or FAQ the receptionist answers from.