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

# v1 a v2

> Si has estado trabajando con los endpoints estándar v1.1 POST lists/create, POST lists/destroy y POST. Referencia del nivel estándar de X API v2 sobre migración.

export const Button = ({href, children}) => {
  return <div className="not-prose">
    <a href={href}>
      <button className="x-btn">
        <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>;
};

### Gestionar Lists: Standard v1.1 comparado con X API v2

Si has estado trabajando con los endpoints estándar v1.1 [POST lists/create](https://developer.x.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/post-lists-create), [POST lists/destroy](https://developer.x.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/post-lists-destroy) y [POST lists/update](https://developer.x.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/post-lists-update), el objetivo de esta guía es ayudarte a entender las similitudes y diferencias entre los endpoints estándar v1.1 y de X API v2 para gestionar Lists.

* **Similitudes**
  * Autenticación
* **Diferencias**
  * URLs de endpoints
  * Requisitos de App y Project
  * Métodos HTTP
  * Rate limits
  * Parámetros de solicitud

#### Similitudes

**Autenticación**

Ambas versiones del endpoint admiten [OAuth 1.0a User Context](https://developer.x.com/content/developer-twitter/resources/fundamentals/authentication). Por lo tanto, si anteriormente usabas uno de los endpoints estándar v1.1 de gestionar Lists, puedes seguir utilizando el mismo método de autenticación si migras a la versión de X API v2.

#### Diferencias

**URLs de endpoints**

* Endpoints estándar v1.1:
  * POST [https://api.x.com/1.1/lists/create.json](https://api.x.com/1.1/lists/create.json)
    (Crea una List)
  * POST [https://api.x.com/1.1/lists/destroy.json](https://api.x.com/1.1/lists/destroy.json)
    (Elimina una List)
  * POST [https://api.x.com/1.1/lists/update.json](https://api.x.com/1.1/lists/update.json)
    (Actualiza una List)
* Endpoint X API v2:
  * POST [https://api.x.com/2/lists](https://api.x.com/2/lists)
    (Crea una List)

  * DELETE [https://api.x.com/2/lists/:id](https://api.x.com/2/lists/:id)
    (Elimina una List)

  * PUT [https://api.x.com/2/lists/:id](https://api.x.com/2/lists/:id)
    (Actualiza una List)

**Rate limits**

\| **Standard v1**
