Invite someone to the partner's team
Emails an invitation under the partner’s brand, which the invitee accepts with a verified LobbyStack account for that email within 7 days. A key invites admins and members; only an owner invites an owner, in the console. It sends an email, so Idempotency-Key is required, and a partner’s keys can invite 20 people an hour between them. Revoking the key revokes the invitations it sent that nobody accepted.
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
Required. A unique value, up to 255 characters, that makes retries of this request safe.
255Corps
Réponse
Created