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 17 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, and who they are assigned to
leads:writeSet a lead's tag, mark it read, unread, responded, booked or disqualified, and set assignees
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
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: replies:send, bookings:write, events:read, webhooks:read, webhooks:write. In v3: leads:suppress, sequences:write, assignments:read, assignments:write, enrichment:read.

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