Lawfficient API
Leads

Leads

The lead object and the endpoints that work with it.

A lead is a prospective client captured from any source — a web form, an ad, a referral, an imported list, or the push endpoint.

Endpoints

MethodPathScopeDescription
GET/api/leadsleads:readList leads (filtered, paginated)
GET/api/leads/{id}leads:readFetch a single lead
POST/api/leadsleads:writeCreate a lead
PATCH/api/leads/{id}leads:writeUpdate a lead (partial)
POST/api/leads/{id}/archiveleads:writeArchive a lead
POST/api/leads/{id}/unarchiveleads:writeRestore a lead

The lead object

{
  "id": "3f8c1e2a-1b2c-4d5e-8f90-abcdef012345",
  "first_name": "Ada",
  "last_name": "Lovelace",
  "email": "ada@example.com",
  "phone": "+15551234567",
  "source": "web_form",
  "status": { "key": "new", "name": "New" },
  "assignee_id": null,
  "archived": false,
  "created_at": "2026-06-23T10:00:00.000Z",
  "last_activity_at": "2026-06-23T10:00:00.000Z",
  "data": { "city": "London", "qualification": "qualified" }
}
FieldTypeNotes
idstringUUID, stable.
first_name, last_namestring
emailstringLowercased.
phonestringNormalized to E.164 where possible.
sourcestringWhere the lead came from (e.g. web_form, zapier).
statusobjectThe firm's pipeline stage: a stable key and a display name.
assignee_idstring | nullThe assigned staff member's id, if any.
archivedbooleanWhether the lead is archived.
created_atstringISO-8601 timestamp.
last_activity_atstringISO-8601 timestamp of the most recent activity.
dataobjectFirm-defined custom fields (varies per firm).

status.key is a stable identifier you can branch on; status.name is for display and a firm can rename it. Filter by the key.

On this page