Company target lists
API reference for /api/v1/target-lists: create company lists, add companies, and start a Homie sync that finds warm paths to them.
Create a list of companies and Homie syncs warm paths to them. The call answers straight away with a sync block. As each company is done, the key's owner gets the usual email and Slack DM, and your webhook endpoints get a webhook with that company's paths.
These endpoints act on one user's lists. An API key acts as the admin who created it. Writes need the api:write scope, which keys generated in Settings include. Keys created before write access are read-only, so generate a new key to use them.
Create a list
POST /api/v1/target-lists| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | List name. If you already have a list with exactly this name, it is reused. |
companies | array | no | Up to 500 companies. Each is { "linkedinUrl": "https://www.linkedin.com/company/acme/" }, { "name": "Acme" }, both, or { "companyId": "..." }. At most 20 per request may be names alone. Without companies, an empty list is created. |
discover | boolean | no | Start the Homie sync. Defaults to true. |
rerun | boolean | no | Search companies again whose earlier sync already finished. |
A name is matched to one company only when it is clear. Otherwise that company comes back as ambiguous with candidates, or as not_found, and the rest are still added. Send its companyId or LinkedIn URL in a follow-up call to the same list.
curl -X POST https://app.usehomie.com/api/v1/target-lists \-H "Authorization: Bearer $HOMIE_API_KEY" \-H "Content-Type: application/json" \-d '{ "name": "Q1 accounts", "companies": [ { "name": "Acme", "linkedinUrl": "https://www.linkedin.com/company/acme/" }, { "linkedinUrl": "https://www.linkedin.com/company/globex/" } ]}'{
"data": {
"createdList": true,
"targetList": { "id": "cm...", "name": "Q1 accounts", "companyCount": 2, "unmatchedCompanyCount": 0, "createdAt": "...", "updatedAt": "..." },
"companies": [
{ "input": "Acme", "status": "added", "companyId": "cm...", "company": { "companyId": "cm...", "name": "Acme", "industry": "Software Development", "headquartersLocation": "Helsinki, Finland", "linkedinUrl": "https://www.linkedin.com/company/acme/", "knownEmployees": 41 } },
{ "input": "https://www.linkedin.com/company/globex/", "status": "added", "companyId": "cm..." }
],
"discovery": { "status": "queued", "commandId": "cm...", "queuedCompanyCount": 2, "alreadySyncedCompanyCount": 0, "pendingIdentityCompanyCount": 0, "previousRuns": [] },
"sync": { "syncRequestId": "cm...", "status": "syncing", "webhookEndpoints": 1 }
}
}sync.status is one of:
syncing: Homie is searching LinkedIn.done: answered from paths Homie already has.not_started: nothing was added, ordiscoverwasfalse.
Track progress with GET /api/v1/sync-requests/{id}.
Add companies to a list
POST /api/v1/target-lists/{id}/companiesTakes the same body as above, without name, and returns the same response.
List, read and rename
| Request | Description |
|---|---|
GET /api/v1/target-lists | Your company lists, most recently updated first. |
GET /api/v1/target-lists/{id}?limit=20&offset=0 | One list and a page of its companies. Max limit 50; page with nextOffset. |
PATCH /api/v1/target-lists/{id} | Body { "name": "New name" }. |
DELETE /api/v1/target-lists/{id}/companies/{companyId} | Remove one company. |