Hand the business over
Emails the new owner a link that claims the business, and returns it so you can send it too. Whoever accepts it with a verified LobbyStack account for that email becomes an owner, and the account the key acts as, which must own the business, leaves the team. A new claim link revokes the one before, and the invitation limit of POST /team/invitations applies. This endpoint ignores Idempotency-Key, so LobbyStack never stores a copy of the link. After a network error, look in GET /team for a pending invitation with transfers_ownership before you retry: a retry sends a new link and revokes the first.
Authorizations
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.
Headers
The business a platform key acts on. Required with a platform key. A per-business key may leave it out; if it sends one, it must be the key's own business.
Body
The new owner's email. Only a LobbyStack account with this verified email can claim the business.
3 - 320Response
Created
A link that hands the business over to its owner.