Find numbers to claim
Searches the carrier for numbers that take calls; a self-hosted business gets only numbers that also take texts. Each offer expires after 5 minutes. On the cloud, a business on a paid plan gets numbers it buys. One without a paid plan gets free trial offers (trial: true) when the account the key acts as verified a mobile number for it in the dashboard, in a country with trials, and no trial was used; otherwise it gets a 409. The dashboard no longer needs that text by default, but a trial claimed with an API key still does: an API request has no network to check, so the mobile is the identity. On a deployment that bills partners for tiers, a partner’s business gets numbers it buys while its partner pays for a tier, and a 409 otherwise. A partner’s platform key also needs phone_numbers:purchase to search and claim for its partner’s businesses, on a paid tier, and never gets a trial offer, which needs one person’s verified mobile. The account a key acts as can search 20 times in 10 minutes, and a partner’s platform keys share the same limit; searches refused before that don’t count. Send replaces to find a replacement for an active number; a business can replace its number once.
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, 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.
En-têtes
Corps
Defaults to the country of the business's time zone, or US. When the account the key acts as verified a mobile number for this business, that number's country decides. A deployment offers US, CA and PR, and GB, AU and NZ once its carrier is set up for them.
US, CA, PR, GB, AU, NZ