Saltar al contenido principal
POST
Create a business

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

Idempotency-Key
string
requerido

Required. A unique value, up to 255 characters, that makes retries of this request safe.

Maximum string length: 255

Cuerpo

application/json
name
string
requerido
Required string length: 1 - 200
timezone
string
requerido

IANA time zone, for example America/Toronto.

Required string length: 1 - 80
business_type
string

Defaults to service_company, the type the dashboard uses.

Required string length: 1 - 64
slug
string

Lowercase letters, digits and hyphens. Made from the name when left out. Another business already using it is a 409.

Required string length: 2 - 120
locale
enum<string>

Default language for callers: en, fr, es, sr (Serbian, Latin script), de, pt (Brazilian Portuguese), it or nl. Defaults to en.

Opciones disponibles:
en,
fr,
es,
sr,
de,
pt,
it,
nl
website_url
string<uri>
Maximum string length: 2000

Respuesta

Created

data
object
requerido