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}/rowsWho 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.
| Action | Who | Credits |
|---|---|---|
| Read lists, rows and columns | Any member of the workspace | Free |
| Make a list, import rows, add a column, quote, stop a fill | Owners and admins | Free |
| Run a fill, add an AI column that fills at once, start an enrichment | Owners and admins, with a key allowed to spend | Charged 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:
{
"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" }'| Field | Required | Description |
|---|---|---|
name | yes | Up to 80 characters. |
brief | no | What 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" }]
}'| Field | Required | Description |
|---|---|---|
rows | yes | 1 to 10,000 rows. Each needs name or domain, and may carry location, employees and values (header to text). |
columns | no | Up 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.
{ "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 }'| Field | Description |
|---|---|
type | text, 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. |
name | The column's name. Required for every type but ai. |
question | For ai, the question to answer, up to 2,000 characters. |
answer_kind | For ai, the kind of answer: text (default), number, yes_no, choice or multi_choice. |
options | For choice and multi_choice, the answers to choose from. |
formula | For formula, the formula over other columns, such as upper({Stage}). |
run | For 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 }'{ "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" }'| Field | Description |
|---|---|
mode | empty (default) fills rows with no answer yet. all fills every row again. Values you or a teammate typed are never replaced. |
keys | Fill 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}/stopStops 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"| Parameter | Description |
|---|---|
view | all (default), new, changed, contacted, booked, hidden or crm. |
limit | Pages the all and hidden views, 1 to 1,000 rows a page. |
cursor | The 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
| Status | When |
|---|---|
400 | A field is missing or out of range. The message names it. |
401 | No key, or a key on a route that needs a signed-in person (for example runs and schedules). |
402 | Not enough credits for the fill, or the plan's list limit is reached. Nothing was charged. |
403 | The 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. |
404 | No such list or column in this key's workspace, or the workspace does not have lists. |
429 | Too many requests. See rate limits. |