Passer au contenu principal
POST
Make a prospect demo

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, phone_numbers:purchase, partner:read, partner.businesses:write, partner.demos:write, partner.packages:write, partner.branding:write, partner.templates:write, partner.team:write, partner.billing:read, partner.billing:write. Only platform keys can hold businesses:create and users:create, and only a key a partner made in its console can hold the partner scopes, which the Partner endpoints use. Only a partner's owners grant partner.billing:read and partner.billing:write.

Corps

application/json
name
string
requis

The prospect's business name.

Required string length: 1 - 120
website_url
string<uri>
requis

The prospect's website, which the demo reads.

Maximum string length: 2000
access_level
enum<string>

What the business's own team gets once someone claims the demo. Defaults to full.

Options disponibles:
full,
activity
locale
enum<string>

The language the demo's receptionist speaks first. Defaults to en.

Options disponibles:
en,
fr,
es,
sr,
de,
pt,
it,
nl,
pl,
tr,
vi,
tl,
sv,
ru,
uk
greeting
string
Maximum string length: 500
timezone
string

IANA time zone, for example America/Toronto.

Maximum string length: 80
suggested_prompts
string[]

What the demo page suggests the prospect ask. Publishing needs at least two.

Maximum array length: 6
Required string length: 1 - 200

Réponse

Created

data
object
requis