> ## Documentation Index
> Fetch the complete documentation index at: https://docs.x.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage Lists

> The Manage Lists endpoints let you create, update, and delete Lists on behalf of. Reference for the X API v2 standard tier covering manage lists.

export const Button = ({href, children}) => {
  return <div className="not-prose group">
    <a href={href}>
      <button className="flex items-center space-x-2.5 py-1 px-4 bg-primary-dark dark:bg-white text-white dark:text-gray-950 rounded-full group-hover:opacity-[0.9] font-medium">
        <span>
          {children}
        </span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

The Manage Lists endpoints let you create, update, and delete Lists on behalf of authenticated users.

## Overview

<CardGroup cols={2}>
  <Card title="Create" icon="plus">
    Create a new List
  </Card>

  <Card title="Update" icon="pen">
    Update List name and description
  </Card>

  <Card title="Delete" icon="trash">
    Delete a List
  </Card>
</CardGroup>

***

## Endpoints

| Method | Endpoint                                   | Description       |
| :----- | :----------------------------------------- | :---------------- |
| POST   | [`/2/lists`](/x-api/lists/create-list)     | Create a new List |
| PUT    | [`/2/lists/:id`](/x-api/lists/update-list) | Update a List     |
| DELETE | [`/2/lists/:id`](/x-api/lists/delete-list) | Delete a List     |

***

## Example: Create a List

```bash theme={null}
curl -X POST "https://api.x.com/2/lists" \
  -H "Authorization: Bearer $USER_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Tech News",
    "description": "My favorite tech journalists",
    "private": false
  }'
```

## Example response

```json theme={null}
{
  "data": {
    "id": "1234567890",
    "name": "Tech News"
  }
}
```

***

## Getting started

<Note>
  **Prerequisites**

  * An approved [developer account](https://developer.x.com/en/portal/petition/essential/basic-info)
  * A [Project and App](/resources/fundamentals/developer-apps) in the Developer Console
  * User Access Tokens via [OAuth 2.0 PKCE](/resources/fundamentals/authentication#oauth-2-0-authorization-code-flow-with-pkce-2)
</Note>

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/x-api/lists/manage-lists/quickstart">
    Create your first List
  </Card>

  <Card title="Integration guide" icon="book" href="/x-api/lists/manage-lists/integrate">
    Key concepts and best practices
  </Card>

  <Card title="List members" icon="users" href="/x-api/lists/list-members/introduction">
    Add and remove members
  </Card>

  <Card title="API Reference" icon="code" href="/x-api/lists/create-list">
    Full endpoint documentation
  </Card>
</CardGroup>
