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

# Lead lists

> **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.

The import lists of a campaign.

Campaigns. 3 endpoints under `https://api.ken.so`. Every request sends `Authorization: Bearer <your API key>` and `Ken-Version: 2026-11-02`: see [Authentication](/docs/authentication.md), [Workspaces](/docs/workspaces.md) and [Errors](/docs/errors.md). OpenAPI for this resource only: [/docs/api/lists/openapi.json](/docs/api/lists/openapi.json).

- `GET /v1/campaigns/{campaignId}/lists` - List a campaign's lists (`lists.list`): [/docs/api/lists/list.md](/docs/api/lists/list.md)
- `GET /v1/lists/{listId}` - Get a list (`lists.get`): [/docs/api/lists/get.md](/docs/api/lists/get.md)
- `DELETE /v1/lists/{listId}` - Delete a list (`lists.delete`): [/docs/api/lists/delete.md](/docs/api/lists/delete.md)

## List a campaign's lists

`GET /v1/campaigns/{campaignId}/lists` - operationId `lists.list`

| Permission | Rate limit |
| --- | --- |
| Campaigns view | 12,000 requests a minute per API key |

Lists the import lists of one campaign, newest first. Page with `limit` and `cursor`.

`sort=createdAt` lists by each list's `createdAt`, oldest first, and `sort=-createdAt` newest
first, with ties by id. Keep the same `sort` while you page: a cursor from another order is refused.
`createdAfter` and `createdBefore` keep the lists created in that range.

Errors:

- `400 validation_failed`: `limit` is not from 1 to 200, `sort` is not `createdAt` or
`-createdAt`, `cursor` is invalid or comes from another `sort`, or `createdBefore` is not
later than `createdAfter`.
- `404 not_found`: the campaign does not exist in this workspace.

Requires Campaigns view.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/lists/GET/v1/campaigns/%7BcampaignId%7D/lists)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `campaignId` | path | integer (int64) | yes | Id of the campaign whose lists to read. |
| `createdAfter` | query | string (date-time) | no | Only lists created at or after this time, in UTC. |
| `createdBefore` | query | string (date-time) | no | Only lists created before this time, in UTC. Must be later than `createdAfter`. |
| `sort` | query | string | no | The order, by each list's `createdAt`: `createdAt` lists oldest first and `-createdAt` newest first. Omitted keeps the default order, newest first. Keep the same `sort` while you page. |
| `limit` | query | integer (int32) | no | Page size, from 1 to 200. |
| `cursor` | query | string | no | The `nextCursor` from the previous page. Omit it for the first page. |
| `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`. |

### Response 200

`data` is a list of `CampaignList`. Each item has these fields. The response also carries `pagination`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | integer (int64) | Id of the list. |
| `campaignId` | integer (int64) | Id of the campaign the list belongs to. |
| `name` | string | Display name of the list. |
| `listType` | string | Where the contacts came from: `csv` (a file upload), `ken_search` (a Kenso search), `campaign_import` (another campaign) or `saved_list` (a saved list). |
| `sourceCampaignId` | integer (int64) | Id of the campaign the contacts were copied from. Null unless `listType` is `campaign_import`. |
| `contactCount` | integer (int32) | Number of contacts in the list. |
| `status` | string | Import state of the list: `in_progress` while Kenso imports its contacts, `done` when the import finished, or `error` when it failed. The full set is `to_scrape`, `in_progress`, `scraped`, `error`, `done` and `draft`. |
| `createdAt` | string (date-time) | When the list was created, in UTC. |
| `modifiedAt` | string (date-time) | When the list last changed, in UTC. |

### Request

```bash
curl -X GET "https://api.ken.so/v1/campaigns/812/lists?limit=50" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID"
```

### Example response

```json
{
  "success": true,
  "data": [
    {
      "id": 3305,
      "campaignId": 4821,
      "name": "SaaS engineering leaders - October.csv",
      "listType": "csv",
      "contactCount": 1840,
      "status": "done",
      "createdAt": "2026-09-23T15:02:11Z",
      "modifiedAt": "2026-09-23T15:09:48Z"
    }
  ],
  "pagination": {
    "nextCursor": "eyJpZCI6ODE1fQ",
    "hasMore": true,
    "total": 1,
    "totalCount": 1,
    "isTotalCapped": true
  }
}
```

## Get a list

`GET /v1/lists/{listId}` - operationId `lists.get`

| Permission | Rate limit |
| --- | --- |
| Campaigns view | 12,000 requests a minute per API key |

Returns one import list with its source, contact count and import state.

Errors:

- `404 not_found`: no list with this id exists in this workspace.

Requires Campaigns view.

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

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `listId` | path | integer (int64) | yes | Id of the list. |
| `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`. |

### Response 200

`data` is a `CampaignList`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | integer (int64) | Id of the list. |
| `campaignId` | integer (int64) | Id of the campaign the list belongs to. |
| `name` | string | Display name of the list. |
| `listType` | string | Where the contacts came from: `csv` (a file upload), `ken_search` (a Kenso search), `campaign_import` (another campaign) or `saved_list` (a saved list). |
| `sourceCampaignId` | integer (int64) | Id of the campaign the contacts were copied from. Null unless `listType` is `campaign_import`. |
| `contactCount` | integer (int32) | Number of contacts in the list. |
| `status` | string | Import state of the list: `in_progress` while Kenso imports its contacts, `done` when the import finished, or `error` when it failed. The full set is `to_scrape`, `in_progress`, `scraped`, `error`, `done` and `draft`. |
| `createdAt` | string (date-time) | When the list was created, in UTC. |
| `modifiedAt` | string (date-time) | When the list last changed, in UTC. |

### Request

```bash
curl -X GET "https://api.ken.so/v1/lists/812" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID"
```

### Example response

```json
{
  "success": true,
  "data": {
    "id": 3305,
    "campaignId": 4821,
    "name": "SaaS engineering leaders - October.csv",
    "listType": "csv",
    "contactCount": 1840,
    "status": "done",
    "createdAt": "2026-09-23T15:02:11Z",
    "modifiedAt": "2026-09-23T15:09:48Z"
  }
}
```

## Delete a list

`DELETE /v1/lists/{listId}` - operationId `lists.delete`

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

Deletes an empty import list and returns it as it was before the delete. Remove the list's contacts first:
Kenso refuses to delete a list that any contact still points to, deleted contacts included.

Errors:

- `400 validation_failed`: the list still has contacts, or its CSV or Kenso search import is still running.
- `404 not_found`: no list with this id exists in this workspace.

Requires Campaigns edit.

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

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `listId` | path | integer (int64) | yes | Id of the list. |
| `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`. |

### Response 200

`data` is a `CampaignList`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | integer (int64) | Id of the list. |
| `campaignId` | integer (int64) | Id of the campaign the list belongs to. |
| `name` | string | Display name of the list. |
| `listType` | string | Where the contacts came from: `csv` (a file upload), `ken_search` (a Kenso search), `campaign_import` (another campaign) or `saved_list` (a saved list). |
| `sourceCampaignId` | integer (int64) | Id of the campaign the contacts were copied from. Null unless `listType` is `campaign_import`. |
| `contactCount` | integer (int32) | Number of contacts in the list. |
| `status` | string | Import state of the list: `in_progress` while Kenso imports its contacts, `done` when the import finished, or `error` when it failed. The full set is `to_scrape`, `in_progress`, `scraped`, `error`, `done` and `draft`. |
| `createdAt` | string (date-time) | When the list was created, in UTC. |
| `modifiedAt` | string (date-time) | When the list last changed, in UTC. |

### Request

```bash
curl -X DELETE "https://api.ken.so/v1/lists/812" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID"
```

### Example response

```json
{
  "success": true,
  "data": {
    "id": 3305,
    "campaignId": 4821,
    "name": "SaaS engineering leaders - October.csv",
    "listType": "csv",
    "contactCount": 1840,
    "status": "done",
    "createdAt": "2026-09-23T15:02:11Z",
    "modifiedAt": "2026-09-23T15:09:48Z"
  }
}
```

All resources: [/docs.md](/docs.md).
