---
title: Add Companies To List
description: Add companies to one of the team's company lists by their company IDs, the id of each company in a company search result. Returns the list with its new company count. If a company is not found, nothing is added and the error names the IDs that were not found.
url: https://theirstack.com/en/docs/api-reference/company-lists/post_company_lists_add_companies_v1
---

## POST /v1/company\_lists/{list\_id}/add\_companies — Add Companies To List

Add companies to one of the team's company lists by their company IDs, the `id` of each company in a company search result. Returns the list with its new company count. If a company is not found, nothing is added and the error names the IDs that were not found.

### Authorization

`Authorization: Bearer <token>`, sent in the header.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `list_id` | path | integer | Yes |  |

### Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `company_ids` | array<string> | Yes | Company IDs to add, the `id` of each company in a company search result 1 <= items. Example: `["jzZtZUAlXO/EX2wK4o6/Jw=="]` |

### Response body

#### 200 — Successful Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `companies_count` | integer | No | Number of companies in the list Default: 0 |
| `created_at` | string | Yes | Format: date-time. |
| `customer_crm_connection_id` | integer | No | CRM connection that keeps this list in sync (CUSTOMER\_CRM\_SYNC lists) |
| `deletable` | boolean | No | Whether the list can be deleted |
| `id` | integer | Yes |  |
| `name` | string | Yes | Name of the company list |
| `type` | enum(REVEALED\_COMPANIES, WEBHOOK\_TRIGGERED, MANUAL\_CREATION, EXPORT\_SNAPSHOT, INTERNAL\_WEBHOOK\_TRIGGERED, CUSTOMER\_CRM\_SYNC) | No | Type of the list: MANUAL\_CREATION, WEBHOOK\_TRIGGERED, REVEALED\_COMPANIES |
| `user_id` | integer | No | User ID of the list owner |
| `webhook_id` | integer | No | Webhook ID of the list |

#### 400 — Bad Request

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | Error | Yes |  |
| `request_id` | integer | No | The request id. This is useful to contact us to help you debug the issue. The request\_id won't be present in all errors. |

##### `error`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | string | No | The error code. Eg: `E-001`, `E-002`, `E-003`, `E-004`, `E-005`, `E-006`, `E-007`, `E-008`, `E-009`, `E-010`, `E-011`, `E-012`, `E-013`, `E-014`, `E-015`, `E-016` Example: `"E-001"` |
| `description` | string | No | The error description |
| `title` | string | Yes | The error title. Example: `"Not allowed exception"` |

#### 402 — Payment Required

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | Error | Yes |  |
| `request_id` | integer | No | The request id. This is useful to contact us to help you debug the issue. The request\_id won't be present in all errors. |

##### `error`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | string | No | The error code. Eg: `E-001`, `E-002`, `E-003`, `E-004`, `E-005`, `E-006`, `E-007`, `E-008`, `E-009`, `E-010`, `E-011`, `E-012`, `E-013`, `E-014`, `E-015`, `E-016` Example: `"E-001"` |
| `description` | string | No | The error description |
| `title` | string | Yes | The error title. Example: `"Not allowed exception"` |

#### 422 — Unprocessable Content

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | Error | Yes |  |
| `request_id` | integer | No | The request id. This is useful to contact us to help you debug the issue. The request\_id won't be present in all errors. |

##### `error`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | string | No | The error code. Eg: `E-001`, `E-002`, `E-003`, `E-004`, `E-005`, `E-006`, `E-007`, `E-008`, `E-009`, `E-010`, `E-011`, `E-012`, `E-013`, `E-014`, `E-015`, `E-016` Example: `"E-001"` |
| `description` | string | No | The error description |
| `title` | string | Yes | The error title. Example: `"Not allowed exception"` |

#### 500 — Internal Server Error

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | Error | Yes |  |
| `request_id` | integer | No | The request id. This is useful to contact us to help you debug the issue. The request\_id won't be present in all errors. |

##### `error`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | string | No | The error code. Eg: `E-001`, `E-002`, `E-003`, `E-004`, `E-005`, `E-006`, `E-007`, `E-008`, `E-009`, `E-010`, `E-011`, `E-012`, `E-013`, `E-014`, `E-015`, `E-016` Example: `"E-001"` |
| `description` | string | No | The error description |
| `title` | string | Yes | The error title. Example: `"Not allowed exception"` |
