Saltar al contenido principal
POST
Make a package

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, 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.

Encabezados

Idempotency-Key
string

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

Maximum string length: 255

Cuerpo

application/json
name
string
requerido
Required string length: 1 - 80
monthly_price_minor
integer
requerido

In the smallest unit of the connected Stripe account's currency.

Rango requerido: x <= 9007199254740991
voice_minutes
integer
requerido
Rango requerido: 0 <= x <= 9007199254740991
chats
integer
requerido
Rango requerido: 0 <= x <= 9007199254740991
setup_fee_minor
integer | null

A one-time fee charged with the first month, or null for none.

Rango requerido: 0 < x <= 9007199254740991

Respuesta

Created

data
object
requerido