Authentication and scopes
Every request carries an API key. Its scopes decide which operations it may call.
API keys
Workspace administrators create keys under Settings → Integrations → API keys. Send the key as a bearer token on every request, over HTTPS only:
Authorization: Bearer $LMS_API_KEY# A token looks like this (key ID, a dot, then the secret):# lms_5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f.your-43-character-secretA token is lms_, the key ID, a dot and a 43-character secret. The prefix makes leaked keys easy to spot with secret scanners. LMS stores only a hash and shows the token once, when the key is created or rotated.
A key belongs to one workspace and acts as a chosen member. What it can do is the overlap of that member's permissions and data visibility with the key's scopes. If the member is deactivated or loses a permission, the key loses it too. Workspace operations live under /v1/tenants/{tenantSlug}; a key can only reach its own workspace.
Each key can also leave out contact details (name, phone, email) from the events it reads, for systems that should not hold personal data.
Rotation and revocation
Rotate a key to get a new secret while the old one keeps working for an overlap window you choose (0–72 hours, 24 by default). Deploy the new token, then let the old one expire. The key ID, scopes and history stay the same. Revoke takes effect immediately.
Scopes
Each operation needs exactly one scope, shown on its page in the API reference. For workspace operations, a .read scope covers the GET and QUERY operations of an area and .write covers the rest. The partner scopes (intake.submit, events.read, recordings.read) are noted on their rows. A request outside the key's scopes returns 403 PARTNER_OPERATION_FORBIDDEN. Integration settings themselves (keys, webhooks) can never be changed with an API key.
Scopes by area
Leads
leads.readRead leadsSearch, read and export leads, contacts, activity and customer fields.leads.writeChange leadsCreate leads, edit profiles and contacts, add activity, assign and move stages.
Lead intake
intake.readRead intake setupSources, mappings, routing, import batches, deliveries and exceptions.intake.writeChange intake setupEdit and publish sources, mappings and routing; import and replay records.
Ownership
ownership.readRead ownership rulesPipeline stages, segments, segmentation and allocation rules.ownership.writeChange ownership rulesEdit and publish stages, segments and allocation rules.
Calling
calling.readRead callingCalls, follow-ups, agents, pacing, work queues and calling permissions.calling.writeChange callingSave call outcomes, hang up, change pacing, cohorts and calling permissions.
Reports
reports.readRead reportsCall detail records, summaries, templates and export files.reports.writeManage reportsCreate exports and save or delete report templates.
Quality
quality.readRead quality reviewsReview cases, evidence, recordings and sales quality summaries.quality.writeChange quality reviewsSubmit analysis and evaluations, assign reviews and coaching.
Voicebot
voicebot.readRead VoicebotBot profiles, campaign configuration, call requests and usage.voicebot.writeRun VoicebotSubmit and cancel call batches and publish campaign configuration.
Campaigns
campaigns.readRead campaignsCampaigns, modules, processes and customer forms.campaigns.writeChange campaignsCreate and edit campaigns, modules, processes and customer forms.
Team
team.readRead teams and membersTeams, rosters, members and roles.team.writeChange teamsCreate, edit and archive teams and their members.
Administration
audit.readRead audit logWho changed what, and when.media.readDownload mediaDownload stored media files.
Partner API
events.readRead the change feedPull the same events webhooks deliver, with a cursor. Partner scope: the change feed. The event catalogue itself needs no scope; any valid key may read it.intake.submitSubmit leadsSend leads to the chosen sources and read their receipts. Partner scope: covers submitting leads and reading their receipts, for the sources chosen on the key.recordings.readRead call recordingsList and download recordings for the chosen campaigns. Partner scope: lists and downloads recordings, for the campaigns chosen on the key.
Choosing the sources for intake.submit and the campaigns for recordings.read happens on the key. Not sure what an integration needs? Check each operation's scope with the search, or start with the quickstart set.