Passer au contenu principal
POST
Put the rules in order

Autorisations

Authorization
string
header
requis

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.

En-têtes

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.

Corps

application/json
rule_ids
string<uuid>[]
requis

Every rule id once, in the order the receptionist should read them.

Required array length: 1 - 100 elements

Stable identifier (UUID).

Réponse

OK

data
object[]
requis
next_cursor
string | null
requis

Pass as cursor to get the next page. Null on the last page.

has_more
boolean
requis