---
title: Adding ID Lists
description: Learn how to create and manage ID List segments for targeting specific users by their identifiers
product: general
lang: en
token_estimate: 772
---
# Adding ID Lists

> For AI agents: a documentation index is available at [/llms.txt](/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

## Adding ID lists

### What is an ID list

An ID List defines a reusable audience segment from user identifiers like `userID`, `stableID`, or `organizationID`. Use it to target a specific set of known users across gates, experiments, and dynamic configs. For audiences of hundreds of thousands or more, set an attribute on the User object instead of maintaining a large ID List.

You can manage ID Lists by manually adding or removing IDs, uploading CSVs, or replacing the entire list.

### Creating an ID list segment

1. Navigate to the **Segments** section in the [Statsig Console](https://console.statsig.com).
2. Click **Create New Segment**.
3. Toggle the segment type from **Conditional** to **ID List**.

   ![Create New Segment](https://docs.statsig.com/images/segments/add-id-list/af7c5cb3-adc2-4e88-a411-b5844a541e49.png)
4. Select the **ID type** you want to build from.

   ![Create New Segment](https://docs.statsig.com/images/segments/add-id-list/958b7545-7f23-4559-8a66-99af01d39952.png)

### Managing IDs

After you open your ID List segment, you have several options:

- **Manual Entry**: Enter IDs directly into the input box.

  ![Create New Segment](https://docs.statsig.com/images/segments/add-id-list/ee94e6bc-475b-47a0-96a7-5ddba398d58c.png)
- **Upload CSV**: Import a list of IDs from a CSV.
- **Bulk Actions**: Choose how your input affects the existing list:

  - **Add**: Add IDs to the list.
  - **Remove**: Remove matching IDs from the list.
  - **Replace**: Clear all IDs and replace with a new list.

You can also sync an ID list segment from sources such as [Amplitude Cohorts](https://help.amplitude.com/hc/en-us/articles/4789303290011), [Segment Audiences](https://docs.statsig.com/integrations/data-connectors/segment#syncing-statsig-segment-id-lists-with-segment-personas-audiences), or a custom source using the [Console API](https://docs.statsig.com/console-api/introduction).

There's a hard limit of 10 million IDs across all ID Lists in your project.

### Keep ID lists small

Statsig synchronizes ID Lists with fewer than 1,000 IDs in the same process as feature gates, experiments, and conditional segments, providing high consistency and reliability. ID Lists over 1,000 IDs use a separate synchronization process for scalability. As a result, Statsig doesn't include them in the main initialization path (for server SDKs or the local evaluation version of client SDKs), and change propagation takes longer.

Keep each ID List to no more than 1,000 IDs unless the longer propagation time is acceptable.

To target hundreds of thousands or millions of users, the more performant approach is to set an attribute on the User object passed to the Statsig SDK. For example, pass `user_type:Paid` or `user_type:Trial` in the User object instead of maintaining large ID Lists. This approach requires your app to have the attribute available when calling the Statsig SDK.

