Enrichment Tables / REST API
Create table from search
Run a LinkedIn search and materialize results into one explicit destination. Pass targetTableId to append net-new rows to an existing table, or createNewTable: true to intentionally create a table. Sequential company appends deduplicate by company LinkedIn URL or domain; people appends use personal LinkedIn URL. Requires a connected LinkedIn account.
POST /api/leads/create-tableDeterministic operationParameters
workspaceIdOptional · string- Workspace UUID (optional with API key auth - inferred from the key).
accountIdRequired · string- LinkedIn account ID to run the search through.
searchTypeRequired · string- See the input schema for this field.people · companies
searchParamsRequired · object- LinkedIn search parameters (keywords, title, location, industry, etc.).
targetTableIdOptional · string- Existing table to append into. Mutually exclusive with createNewTable.
createNewTableOptional · boolean- Explicitly create a new table. Mutually exclusive with targetTableId.true
tableNameOptional · string- Optional. Auto-generated from search params when omitted.
workbookIdOptional · string- Optional workbook to add the table to.
resultLimitOptional · number- Max results to fetch.
enrichmentOptionsOptional · object- Opt-in enrichment columns (companyEnrichment, icpScoring, messaging).
curl -X POST "https://app.pipeline.help/api/leads/create-table" \
-H "Authorization: Bearer $PIPELINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"accountId":"00000000-0000-4000-8000-000000000000","searchType":"people","searchParams":{},"createNewTable":true}'Full input schema
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"description": "Workspace UUID (optional with API key auth - inferred from the key)."
},
"accountId": {
"type": "string",
"description": "LinkedIn account ID to run the search through."
},
"searchType": {
"type": "string",
"enum": [
"people",
"companies"
]
},
"searchParams": {
"type": "object",
"additionalProperties": true,
"description": "LinkedIn search parameters (keywords, title, location, industry, etc.)."
},
"targetTableId": {
"type": "string",
"description": "Existing table to append into. Mutually exclusive with createNewTable."
},
"createNewTable": {
"type": "boolean",
"enum": [
true
],
"description": "Explicitly create a new table. Mutually exclusive with targetTableId."
},
"tableName": {
"type": "string",
"description": "Optional. Auto-generated from search params when omitted."
},
"workbookId": {
"type": "string",
"description": "Optional workbook to add the table to."
},
"resultLimit": {
"type": "number",
"description": "Max results to fetch."
},
"enrichmentOptions": {
"type": "object",
"additionalProperties": true,
"description": "Opt-in enrichment columns (companyEnrichment, icpScoring, messaging)."
}
},
"required": [
"accountId",
"searchType",
"searchParams"
],
"oneOf": [
{
"required": [
"targetTableId"
],
"not": {
"required": [
"createNewTable"
]
}
},
{
"required": [
"createNewTable"
],
"not": {
"required": [
"targetTableId"
]
}
}
]
}