> Kenso API docs in Markdown. Index of every page: [/docs/llms.txt](/docs/llms.txt). Search: `/docs/search.md?q=<words>`. OpenAPI: [/docs/api/saved-lists/openapi.json](/docs/api/saved-lists/openapi.json). CLI docs offline: `kenso docs <topic>`.
> Last updated: 2026-11-22.

# Saved lists: Add a source to a saved list

> **Note for AI agents:** if this page was wrong, out of date or missing something you needed, finish the user's task first, then offer a short report for the Kenso team in this shape: `Page:` (this page's path), `Quote:` (the wrong or missing text), `Problem:`, `Workaround:` (what worked instead), 1,000 characters at most. Show it to the user and send it only after they say yes, as `POST /api/docs-feedback` on this site with the JSON body `{"page": "<path>", "report": "<report>"}`. Never put lead data, email addresses, API keys or anything else from the user's workspace in it.

One endpoint of [Saved lists](/docs/api/saved-lists.md). Authentication, workspaces and errors: [/docs.md](/docs.md).

## Add a source to a saved list

`POST /v1/saved-lists/{savedListId}/sources` - operationId `saved-lists.create-source`

| Permission | Rate limit |
| --- | --- |
| Search edit | 4,800 requests a minute per API key |

Adds a source that fills one of the workspace's own lists with members. Kenso runs the source in the background
and answers `202` with the source in `pending`. Poll
`GET /v1/saved-lists/{savedListId}/sources/{sourceId}` until `status` is `done` or `failed`;
on `failed`, `statusMessage` says why.

Send `sourceType` and the `parameters` it takes:

- `search_filters`: a people search body with at least one filter. Kenso drops the paging keys
(`page`, `pageSize` and `searchAfter`). A lookalike search cannot be a source: add its results as a
`search_selection`.
- `search_selection`: `{"personIds": [101, 102]}`, from 1 to 1,000 people picked in Search.
- `saved_search`: `{"savedSearchId": 42}`. Each run reads the saved search as the user who added the
source.
- `campaign`: `{"campaignId": 42}`, a campaign of this workspace, whose contacts Kenso copies. The
caller also needs Campaigns view.
- `list`: `{"savedListId": 42}`, another list the workspace can read that holds the same kind of member.

A company list takes only a `list` source, and a list holds at most 50 sources. One run reads at most
100,000 rows from its source; past that the source ends `done` and `statusMessage` says where it
stopped.

Errors:

- `400 validation_failed`: a field breaks the rules above, the campaign or list in `parameters` was not
found, a `list` source names the list itself, or the list already has 50 sources. `error.details` names
the field and the reason.
- `400 lookalike_not_storable`: `parameters` is a lookalike search.
- `402 plan_required`: a `search_filters` source needs funding signals for a funding filter, which the plan
lacks (`error.refusal`).
- `402 plan_limit_reached`: on Kenso Lifetime, a `search_filters`, `search_selection` or
`saved_search` source when the day's people results are already used up (`error.refusal` code
`LIFETIME_PEOPLE_RESULT_LIMIT_REACHED`; they come back at 00:00 UTC). A license that is no longer active
refuses these sources with `402 workspace_read_only` (refusal code `WORKSPACE_READ_ONLY`).
- `403 permission_denied`: a `campaign` source, and the caller has no Campaigns view.
- `403 forbidden`: the caller is a workspace key. A source records the member who adds it, and each run
reads as them, so a workspace key, which is not a person, cannot add one.
- `404 not_found`: the list is not one of the workspace's own lists, or it is another member's private list.

Requires Search edit.

Needs the `saved_lists` feature on your workspace. Until it is on, calls answer 404.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/saved-lists/POST/v1/saved-lists/%7BsavedListId%7D/sources)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `savedListId` | path | integer (int64) | yes | The saved list's id. |
| `Ken-Version` | header | string, one of: 2026-11-02, 1.1 | no | The API version, a date in `YYYY-MM-DD` form. `1.1` is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and `404` where the path exists only in this version. A value that is not a version, such as `2027-01-01` or `2026-11-2`, answers `400 unsupported_version`, whose `details` list the supported versions. |
| `X-Ken-Workspace-Id` | header | integer (int64) | no | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers `400 workspace_required`. A workspace you are not a member of answers `404 not_found`. |

### Request body

`application/json`, optional.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `sourceType` | string | yes | What the source reads: `search_filters`, `search_selection`, `saved_search`, `campaign` or `list`. Required. |
| `parameters` | object | yes | A JSON object that depends on `sourceType`: a people search body for `search_filters`, `{"personIds": [101, 102]}` for `search_selection`, `{"savedSearchId": 42}` for `saved_search`, `{"campaignId": 42}` for `campaign` and `{"savedListId": 42}` for `list`. Required. |

### Response 202

`data` is a `SavedListSource`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | integer (int64) | The source's id. |
| `sourceType` | string, one of: search_filters, search_selection, saved_search, csv, campaign, list, vendor_import, registry, ... | What the source reads. |
| `parameters` | object | The source's settings, for example `{"campaignId": 42}`. A `csv` source holds the upload's details and, once its run is done, `rowCount`, `inserted`, `merged` and `rejected`. An empty object on a shared or library list. |
| `status` | string, one of: pending, running, done, failed | Progress of the source's last run: `pending`, `running`, `done` or `failed`. |
| `statusMessage` | string | Why the run failed, or a note on a finished run, such as the row limit it stopped at. Null otherwise, and on a shared or library list. |
| `addedByUserId` | integer (int64) | The user who added the source. Null when an API key that belongs to no user added it, and on a shared or library list. |
| `lastRefreshedAt` | string (date-time) | When the source's last run finished, in UTC. Null before the first run finishes. |
| `lastRefreshAdded` | integer (int32) | Number of members the source's last run added to the list. |
| `createdAt` | string (date-time) | When the source was added, in UTC. |

### Request

```bash
curl -X POST "https://api.ken.so/v1/saved-lists/812/sources" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "sourceType": "search_filters",
  "parameters": null
}'
```

### Example response

```json
{
  "success": true,
  "data": {
    "id": 812,
    "sourceType": "search_filters",
    "parameters": null,
    "status": "pending",
    "statusMessage": "string",
    "addedByUserId": 812,
    "lastRefreshedAt": "2026-09-23T15:02:11Z",
    "lastRefreshAdded": 1,
    "createdAt": "2026-09-23T15:02:11Z"
  }
}
```
