LeadArc Docsv1

Markdown for agents

This page as plain markdown, ready to paste into an LLM.

.md

Scopes

What each scope grants, read from the same list the server checks against.

A scope is resource:action. Each endpoint needs one. Missing it is 403 insufficient_scope, and the response names the scope it wanted.

All 21 scopes

ScopeGrants
workspaces:readList and read the workspaces this key can reach
members:readList the people who can work a workspace
leads:readList and read leads, their replies, assignees, and manual lead tags
leads:writeSet a lead's status, manual tags, assignees, and workflow markers
leads:suppressUnsubscribe a lead through its sending platform and mark it do-not-contact
leads:enrichRun the workspace's phone-enrichment waterfall for an Interested or Booked lead
threads:readRead the full text of every message in a conversation
notes:readRead notes on a lead
notes:writeAdd a note to a lead
tasks:readRead tasks
tasks:writeCreate, edit, complete and delete tasks
meetings:readRead scheduled meetings
meetings:writeSet a meeting's outcome, and read its internal notes
event_types:readRead event types and their free slots
templates:readRead reply templates and render one against a lead
assets:readRead a workspace's assets
sequences:readRead follow-up sequences and their steps
sequences:writeEnroll leads into follow-up sequences
replies:sendSend a reply to a lead through its connected email platform
campaigns:readRead the campaign roster and its tags
insights:readRead funnel, campaign and daily numbers

Three that are easy to get wrong

Presets

Starting points in the create dialog. No preset grants everything.

PresetForScopes

A key cannot beat its owner

On every request the key's scopes are cut down to what the owner's role allows. GET /v1/me returns both lists: scopes is usable now, scopes_withheld was granted but is no longer allowed.

Scopes that do not exist yet

Asking for one of these today fails at key creation. In v2: bookings:write, events:read, webhooks:read, webhooks:write. In v3: assignments:read, assignments:write, enrichment:read. Native v1 already uses replies:send, sequences:write, and a separate leads:suppress check for unsubscribe.

Base URL https://api.leadarc.io/v1. Generated from the API source.