Back to API Overview
Accounts
Aggregated company/account view derived from lead data
Endpoints (4)
GET
/api/accountsAuth Required
List Accounts
Returns companies aggregated from lead data with enriched metadata. Accounts are computed dynamically — not stored as a separate entity.
GET
/api/accounts/{accountId}Auth Required
Get Account
Get a single account with all associated leads.
PATCH
/api/accounts/{accountId}Auth Required
Update Account
Update account metadata (e.g. notes, tags).
GET
/api/accounts/{accountId}/commonalitiesAuth Required
Analyze LinkedIn Commonalities
Use AI (Perplexity) to analyze shared traits among leads at this account. Requires PERPLEXITY_API_KEY.