Lists (tables)

Make a list of companies, add rows and columns, quote and run column fills, and read rows with an API key. Free actions work with any key that may edit the workspace. Spending credits needs a key allowed to spend.

A list is a table of companies in your workspace, the same one you see in the dashboard. With an API key you can make a list, import rows, add columns, get a quote for filling a column, run or stop a fill, and read the rows.

POST https://api.jobspipe.dev/api/prospects/lists
POST https://api.jobspipe.dev/api/prospects/lists/{id}/import
POST https://api.jobspipe.dev/api/prospects/lists/{id}/columns
POST https://api.jobspipe.dev/api/prospects/lists/{id}/columns/{column_id}/fill
POST https://api.jobspipe.dev/api/prospects/lists/{id}/columns/{column_id}/stop
GET  https://api.jobspipe.dev/api/prospects/lists/{id}/rows

Who may call them

Every endpoint accepts an API key (Authorization: Bearer jp_live_... or x-api-key), a signed-in session, or an OAuth access token from the MCP server. A key acts in the workspace it belongs to and never sees another workspace's lists: a list in another workspace answers 404.

ActionWhoCredits
Read lists, rows and columnsAny member of the workspaceFree
Make a list, import rows, add a column, quote, stop a fillOwners and adminsFree
Run a fill, add an AI column that fills at once, start an enrichmentOwners and admins, with a key allowed to spendCharged per answer found

A key acts with the role of the person who created it. A key created by a member reads but gets 403 on any change.

Keys that may spend credits

A key cannot spend credits unless it was allowed to. Every key, old and new, starts unable to. When your dashboard shows a Can spend credits switch under a workspace key in Settings → API Keys, an owner or admin can turn it on for that key, and the change applies on the key's next request. Without it, a request that would spend credits answers 403 with "code": "key_cannot_spend", and nothing starts or is charged. The error text says what to do instead, for example:

403 Forbidden
{
  "error": "This API key may not spend credits. Turn on Can spend credits for this key in Settings > API keys, or use a signed-in session.",
  "code": "key_cannot_spend"
}

A quote ("estimate": true) never spends, so any key may ask for one. A signed-in session can always run a fill or an enrichment.

An OAuth access token from the MCP server may make these changes and spend credits only when the connection allowed agents. A connection made before agents were offered answers 403 and asks you to reconnect.

Make a list

curl https://api.jobspipe.dev/api/prospects/lists \
  -H "Authorization: Bearer $JOBSPIPE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Fleet insurance", "brief": "Trucking fleets in Texas" }'
FieldRequiredDescription
nameyesUp to 80 characters.
briefnoWhat the list is for, in plain words.

Answers 201 with { "list": { "id": "...", "name": "...", ... } }. A workspace holds as many lists as its plan allows. Past that, the answer is 402 or 429 with the limit.

Import rows

curl https://api.jobspipe.dev/api/prospects/lists/$LIST_ID/import \
  -H "Authorization: Bearer $JOBSPIPE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "rows": [
      { "name": "Acme Freight", "domain": "acmefreight.com", "values": { "Owner": "Dana" } },
      { "name": "Nova Logistics", "domain": "novalogistics.com" }
    ],
    "columns": [{ "header": "Owner", "type": "text" }]
  }'
FieldRequiredDescription
rowsyes1 to 10,000 rows. Each needs name or domain, and may carry location, employees and values (header to text).
columnsnoUp to 40 headers of values to write into columns: { "header", "column_id" } for a column the list has, or { "header", "type" } to make a typed column (text, number, yes_no, choice, multi_choice).

Rows are matched by domain, against each other and against the list, so a company is added once. Import costs nothing.

200 OK
{ "added": 2, "updated": 0, "skipped": 0, "cells": 1, "failed": [] }

capped appears when the list or the workspace's accounts limit left some rows out. A list holds at most 10,000 rows.

Add a column

curl https://api.jobspipe.dev/api/prospects/lists/$LIST_ID/columns \
  -H "Authorization: Bearer $JOBSPIPE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "type": "ai", "question": "Do they run their own fleet?", "answer_kind": "yes_no", "run": false }'
FieldDescription
typetext, number, yes_no, choice, multi_choice and formula hold what you put in them and are free. ai answers a question for each row from its job posts.
nameThe column's name. Required for every type but ai.
questionFor ai, the question to answer, up to 2,000 characters.
answer_kindFor ai, the kind of answer: text (default), number, yes_no, choice or multi_choice.
optionsFor choice and multi_choice, the answers to choose from.
formulaFor formula, the formula over other columns, such as upper({Stage}).
runFor ai. false adds the column without filling it. Default true fills it at once, which spends credits.

Answers 201 with { "column": { "id": "...", ... } }. A list holds at most 40 columns.

Quote a fill

Send "estimate": true to learn what a fill may cost before it runs. Nothing starts and nothing is charged.

# A column the list has
curl https://api.jobspipe.dev/api/prospects/lists/$LIST_ID/columns/$COLUMN_ID/fill \
  -H "Authorization: Bearer $JOBSPIPE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "estimate": true, "mode": "empty" }'

# A new AI column, before you add it
curl https://api.jobspipe.dev/api/prospects/lists/$LIST_ID/columns \
  -H "Authorization: Bearer $JOBSPIPE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "estimate": true }'
200 OK
{ "pricing": true, "rows": 120, "max_rows": 120, "max_credits": 360, "unit_credits": 3 }

max_credits is the most the fill can cost: an AI answer costs 3 credits, and a lookup column costs what its tool costs. A row that comes back with no answer costs nothing, so the charge is usually lower.

Run a fill

curl https://api.jobspipe.dev/api/prospects/lists/$LIST_ID/columns/$COLUMN_ID/fill \
  -H "Authorization: Bearer $JOBSPIPE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "mode": "empty" }'
FieldDescription
modeempty (default) fills rows with no answer yet. all fills every row again. Values you or a teammate typed are never replaced.
keysFill only these rows, by company_key, up to 10,000.

Answers 202 with { "filling": true, "started": true } and fills in the background. started is false when the column is already filling, so a second request never pays twice. Credits are charged after the answers come back, only for rows that got one. When the workspace's credits do not cover the quote, the answer is 402 and nothing starts.

Follow it with GET /api/prospects/lists/{id}/columns/{column_id}/fill, which answers { "filling", "progress", "skipped", "failed" }.

Stop a fill

POST https://api.jobspipe.dev/api/prospects/lists/{id}/columns/{column_id}/stop

Stops after the batch in progress. Rows it never reached are not charged. Answers { "stopping": true }. Free.

Read rows

curl "https://api.jobspipe.dev/api/prospects/lists/$LIST_ID/rows?limit=500" \
  -H "Authorization: Bearer $JOBSPIPE_API_KEY"
ParameterDescription
viewall (default), new, changed, contacted, booked, hidden or crm.
limitPages the all and hidden views, 1 to 1,000 rows a page.
cursorThe next_cursor of the page before.

Answers { "rows": [...], "total": 120, "next_cursor": "..." }, best fit first. GET /api/prospects/lists/{id}/columns returns the columns and each row's answers. Reading is free.

Errors

StatusWhen
400A field is missing or out of range. The message names it.
401No key, or a key on a route that needs a signed-in person (for example runs and schedules).
402Not enough credits for the fill, or the plan's list limit is reached. Nothing was charged.
403The key's creator is not an owner or admin, the key may not spend credits (key_cannot_spend), or an MCP connection needs to be reconnected.
404No such list or column in this key's workspace, or the workspace does not have lists.
429Too many requests. See rate limits.

On this page