Create a business
Platform keys only. Creates a business owned by the account in the key’s owner_email, and lets every key of the same partner act on it. Idempotency-Key is required: a retry with the same value returns the business it created, however much later, and a different body with that value is a 422.
Autorisations
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
Required. A unique value, up to 255 characters, that makes retries of this request safe.
255Corps
1 - 200IANA time zone, for example America/Toronto.
1 - 80Defaults to service_company, the type the dashboard uses.
1 - 64Lowercase letters, digits and hyphens. Made from the name when left out. Another business already using it is a 409.
2 - 120Default language for callers: en, fr, es, sr (Serbian, Latin script), de, pt (Brazilian Portuguese), it or nl. Defaults to en.
en, fr, es, sr, de, pt, it, nl 2000Réponse
Created