Upload company list
Upload a manual company list into a conference's target companies (the list Harvest and find_people_at_companies search), exactly like pasting companies in the app. Pass EITHER csv (text: a Company[,Size] header, or one company per line, optional trailing ,1001-5000 size) OR companies (names, or {name, size_band}). mode=merge (default) adds without wiping names already listed; mode=replace swaps the list for the keepers. Size bands wholly outside the campaign ICP are refused as targets and stamped fit_tier=out on campaign_companies; unknown size passes. Cap 300. dry_run: true previews with no write. Nothing is spent and nobody is drafted; follow with find_people_at_companies or set_social_discovery when you want people. For a people/attendee CSV use import_attendee_list instead.
Request
curl -X POST "https://sayintel.com/api/public/v1/campaigns/<campaign_id>/target-companies" \
-H "Authorization: Bearer $SAYINTEL_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'Try it out
Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.
Path parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| campaign_id | path | string | yes | — |
Body
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| csv | body | string | no | — |
| companies | body | array | no | — |
| mode | body | stringmerge | replace | no | — |
| dry_run | body | boolean | no | — |
| workspace | body | string | no | Not accepted on this tool: it acts on your own account, and naming another workspace is refused. |
| acting_account | body | string | no | Which sayintel login this call acts on: an account_id or email from list_accounts. Required once logins are linked to this connection. |
Response
{
"ok": true,
"tool": "upload_company_list",
"kind": "write",
"data": { ... },
"error": null
}Notes
- Scope required: write. How scopes work.
- Accepts Idempotency-Key. A retry with the same key replays the first result instead of repeating the work.
- Accepts dry_run: true and always returns cost_preview before spending anything.
- Same capability over MCP as the tool upload_company_list. MCP setup.