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

# Mapeo de autenticación de X API v2

> La siguiente tabla ilustra qué endpoints de v2 se corresponden con qué métodos de autenticación. Documentación para la plataforma de desarrolladores de X que cubre la autenticación v2.

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>;
};

La siguiente tabla ilustra qué endpoints de v2 se corresponden con qué métodos de autenticación.

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                             |                                     |                                                                                                                                              |
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------- | :---------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------- |
| **Endpoint**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | **OAuth 1.0a User Context** | **OAuth 2.0** **App Only   <br />** | **OAuth 2.0  <br />Authorization Code con PKCE**                                                                                             |
| [Búsqueda de Tweets](/x-api/posts/lookup/introduction)<br /><br />Obtiene varios Tweets con una lista de IDs<br /><br />[GET /2/tweets](/x-api/posts/post-lookup-by-post-ids)<br /><br />Obtiene un único Tweet con un ID<br /><br />[GET /2/tweets/:id](/x-api/posts/post-lookup-by-post-id)                                                                                                                                                                                                                                                                                                                                                                                     | ✅                           | ✅                                   | ✅  <br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read                                                                           |
| [Gestionar Tweets](/x-api/posts/manage-tweets/introduction)<br /><br />Publica un Tweet<br /><br />[POST /2/tweets](/x-api/posts/creation-of-a-post)<br /><br />Elimina un Tweet<br /><br />[DELETE /2/tweets/:id](/x-api/posts/post-delete-by-post-id)                                                                                                                                                                                                                                                                                                                                                                                                                           | ✅                           |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />tweet.write<br /><br />users.read                                                      |
| [Timelines](/x-api/posts/timelines/introduction)<br /><br />Timeline de Tweets de un usuario<br /><br />[GET /2/users/:id/tweets](/x-api/users/get-posts)<br /><br />Timeline de menciones de un usuario<br /><br />[GET /2/users/:id/mentions](/x-api/users/get-mentions)<br /><br />Timeline de inicio en orden cronológico inverso<br /><br />[GET /2/users/:id/timelines/reverse\_cronological](/x-api/posts/timelines#user-mention-timeline-3)                                                                                                                                                                                                                               | ✅<br /><br />✅              | ✅                                   | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read |
| [Búsqueda reciente](/x-api/posts/search/introduction#recent-search)<br /><br />Busca Tweets publicados en los últimos 7 días<br /><br />[GET /2/tweets/search/recent](/x-api/posts/recent-search)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ✅                           | ✅                                   | ✅<br /><br />Scopes: <br /><br />tweet.read<br /><br />users.read                                                                            |
| [Búsqueda de archivo completo](/x-api/posts/search/introduction#full-archive-search)<br /><br />Solo disponible para quienes tienen acceso Academic Research<br /><br />Busca en el archivo completo de Tweets<br /><br />[GET /2/tweets/search/all](/x-api/posts/full-archive-search)                                                                                                                                                                                                                                                                                                                                                                                            |                             | ✅                                   |                                                                                                                                              |
| [Filtered stream](/x-api/posts/filtered-stream/introduction)<br /><br />Añade o elimina reglas de tu stream<br /><br />[POST /2/tweets/search/stream/rules](/x-api/stream/update-stream-rules)<br /><br />Obtén las reglas de tu stream<br /><br />[GET /2/tweets/search/stream/rules](/x-api/stream/get-stream-rules)<br /><br />Conéctate al stream<br /><br />[GET /2/tweets/search/stream](/x-api/posts/filtered-stream)                                                                                                                                                                                                                                                      |                             | ✅                                   |                                                                                                                                              |
| [Volume streams](/x-api/posts/volume-streams/introduction)<br /><br />Transmite alrededor del 1% de todos los Tweets en tiempo real.<br /><br />[GET /2/tweets/sample/stream](/x-api/stream/stream-sampled-posts)                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                             | ✅                                   |                                                                                                                                              |
| [Gestionar Retweets](/x-api/posts/retweets/introduction#manage-retweets)<br /><br />Haz un Retweet de un Tweet<br /><br />[POST /2/users/:id/retweets](/x-api/posts/retrieve-posts-that-repost-a-post)<br /><br />Elimina un Retweet<br /><br />[DELETE /2/users/:id/retweets/:source\_tweet\_id](/x-api/users/unrepost-post)                                                                                                                                                                                                                                                                                                                                                     | ✅                           |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />tweet.write<br /><br />users.read                                                      |
| [Búsqueda de Retweets](/x-api/posts/retweets/introduction#retweets-lookup)<br /><br />Usuarios que han hecho Retweet de un Tweet<br /><br />[GET /2/tweets/:id/retweeted\_by](/x-api/posts/get-reposted-by)                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ✅                           | ✅                                   | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read                                                                             |
| Bookmarks [búsqueda](/x-api/posts/bookmarks/introduction#bookmarks-lookup)<br /><br />Obtén Tweets marcados como favoritos<br /><br />[GET /2/tweets/:id/bookmarks](/x-api/bookmarks/bookmarks-by-user)                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                             |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />bookmark.read                                                    |
| [Gestionar Bookmarks](/x-api/posts/bookmarks/introduction#manage-bookmarks)<br /><br />Marca un Tweet como favorito<br /><br />[POST /2/tweets/:id/bookmarks](/x-api/bookmarks/add-post-to-bookmarks)<br /><br />Elimina un Bookmark de un Tweet<br /><br />[DELETE /2/users/:id/bookmarks:tweet\_id](/x-api/bookmarks/remove-a-bookmarked-post)                                                                                                                                                                                                                                                                                                                                  |                             |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />bookmark.write                                                   |
| [Gestionar Likes](/x-api/posts/likes/introduction#manage-likes)<br /><br />Da Like a un Tweet<br /><br />[POST /2/users/:id/likes](/x-api/users/like-post)<br /><br />Deshace un Like de un Tweet<br /><br />[DELETE /2/users/:id/likes/:tweet\_id](/x-api/users/unlike-post)                                                                                                                                                                                                                                                                                                                                                                                                     | ✅                           |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />like.write                                                       |
| [Búsqueda de Likes](/x-api/posts/likes/introduction#likes-lookup)<br /><br />Usuarios a los que les ha gustado un Tweet<br /><br />[GET /2/tweets/:id/liking\_users](/x-api/posts/get-liking-users)<br /><br />Tweets que le gustan a un usuario<br /><br />[GET /2/users/:id/liked\_tweets](/x-api/users/get-liked-posts)                                                                                                                                                                                                                                                                                                                                                        | ✅                           | ✅                                   | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />like.read                                                        |
| [Ocultar respuestas](/x-api/posts/hide-replies/introduction)<br /><br />Oculta o muestra una respuesta a un Tweet.<br /><br />[PUT /2/tweets/:id/hidden](/x-api/posts/hide-replies)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ✅                           |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />tweet.moderate.write                                             |
| [Búsqueda de usuarios](/x-api/users/lookup/introduction)<br /><br />Obtiene varios usuarios con IDs<br /><br />[GET /2/users](/x-api/users/user-lookup-by-ids)<br /><br />Obtiene un único usuario con un ID<br /><br />[GET /2/users/:id](/x-api/users/user-lookup-by-id)<br /><br />Obtiene varios usuarios con nombres de usuario<br /><br />[GET /2/users/by](/x-api/users/user-lookup-by-usernames)<br /><br />Obtiene un único usuario con un nombre de usuario<br /><br />[GET /2/users/by/username/:username](/x-api/users/user-lookup-by-username)<br /><br />Obtiene información sobre un usuario autenticado<br /><br />[GET /2/users/me](/x-api/users/user-lookup-me) | ✅                           | ✅                                   | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read                                                                             |
| [Gestionar follows](/x-api/users/follows/introduction#manage-follows)<br /><br />Permite que un user ID siga a otro usuario<br /><br />[POST /2/users/:id/following](/x-api/users/follow-user)<br /><br />Permite que un user ID deje de seguir a otro usuario<br /><br />[DELETE /2/users/:source\_user\_id/following/:target\_user\_id](/x-api/users/unfollow-user)                                                                                                                                                                                                                                                                                                             | ✅                           |                                     | ✅<br /><br />Scopes: <br /><br />tweet.read<br /><br />users.read<br /><br />follows.write                                                   |
| [Búsqueda de follows](/x-api/users/follows/introduction#follows-lookup)<br /><br />Busca los seguidos de un usuario por ID<br /><br />[GET /2/users/:id/following](/x-api/users/following-by-user-id)<br /><br />Busca los seguidores de un usuario por ID<br /><br />[GET /2/users/:id/followers](/x-api/users/followers-by-user-id)                                                                                                                                                                                                                                                                                                                                             | ✅                           | ✅                                   | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />follows.read                                                     |
| [Búsqueda de Blocks](/x-api/users/blocks/introduction#blocks-lookup)<br /><br />Devuelve una lista de usuarios que están bloqueados por el user ID especificado <br /><br />[GET /2/users/:id/blocking](/x-api/users/returns-user-objects-that-are-blocked-by-provided-user-id)                                                                                                                                                                                                                                                                                                                                                                                                   | ✅                           |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />block.read                                                       |
| [Gestionar Mutes](/x-api/users/mutes/introduction#manage-mutes)<br /><br />Permite que un user ID silencie a otro usuario<br /><br />[POST /2/users/:id/muting](/x-api/users/mute-user-by-user-id)<br /><br />Permite que un user ID quite el silencio a otro usuario<br /><br />[DELETE /2/users/:source\_user\_id/muting/:target\_user\_id](/x-api/users/unmute-user-by-user-id)                                                                                                                                                                                                                                                                                                | ✅                           |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />mute.write                                                       |
| [Búsqueda de Mutes](/x-api/users/mutes/introduction#mutes-lookup)<br /><br />Devuelve una lista de usuarios silenciados por el user ID especificado<br /><br />[GET /2/users/:id/muting](/x-api/users/returns-user-objects-that-are-muted-by-the-provided-user-id)                                                                                                                                                                                                                                                                                                                                                                                                                | ✅                           |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />mute.read                                                        |
| [Búsqueda de Spaces](/x-api/spaces/lookup/introduction)<br /><br />Busca un Space por ID<br /><br />[GET /2/spaces/:id](/x-api/spaces/space-lookup-by-space-id)<br /><br />Busca varios Spaces <br /><br />[GET /2/spaces](/x-api/spaces/space-lookup-up-space-ids)<br /><br />Descubre Spaces creados por user ID<br /><br />[GET /2/spaces/by/creator\_ids](/x-api/spaces/space-lookup-by-their-creators)                                                                                                                                                                                                                                                                       |                             | ✅                                   | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />space.read                                                       |
| [Búsqueda de Spaces](/x-api/spaces/lookup/introduction)<br /><br />Obtén los usuarios que compraron una entrada para un Space<br /><br />[GET /2/spaces/:id/buyers](/x-api/spaces/retrieve-the-list-of-users-who-purchased-a-ticket-to-the-given-space)                                                                                                                                                                                                                                                                                                                                                                                                                           |                             |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />space.read                                                       |
| [Búsqueda de Spaces](/x-api/spaces/search/introduction)<br /><br />Devuelve Spaces en vivo o programados que coincidan con los términos de búsqueda especificados.<br /><br />[GET /2/spaces/search](/x-api/spaces/search-for-spaces)                                                                                                                                                                                                                                                                                                                                                                                                                                             |                             | ✅                                   | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />space.read                                                       |
| [Búsqueda de List](/x-api/lists/list-lookup/introduction)<br /><br />Busca una lista específica por ID<br /><br />[GET /2/lists/:id](/x-api/lists/list-lookup-by-list-id)<br /><br />Busca la List de la que es propietario un usuario<br /><br />[GET /2/users/:id/owned\_lists](/x-api/users/get-owned-lists)                                                                                                                                                                                                                                                                                                                                                                   | ✅                           | ✅                                   | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />list.read                                                        |
| [Gestionar Lists](/x-api/lists/manage-lists/introduction)<br /><br />Crea una nueva List en nombre de un usuario autenticado<br /><br />[POST /2/lists](/x-api/lists/create-list)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ✅                           |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />list.read<br /><br />list.write                                  |
| [Gestionar Lists](/x-api/lists/manage-lists/introduction)<br /><br />Elimina una List de la que es propietario el usuario autenticado<br /><br />[DELETE /2/lists/:id](/x-api/lists/delete-list)<br /><br />Actualiza los metadatos de una List de la que es propietario el usuario autenticado<br /><br />[PUT /2/lists/:id](/x-api/lists/update-list)                                                                                                                                                                                                                                                                                                                           | ✅                           |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />list.write                                                       |
| [Búsqueda de Tweets de una List](/x-api/lists/list-tweets/introduction)<br /><br />Busca Tweets de una List especificada<br /><br />[GET /2/lists/:id/tweets](/x-api/lists/get-list-posts)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ✅                           | ✅                                   | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />list.read                                                        |
| [Búsqueda de miembros de una List](/x-api/lists/list-members/introduction#list-members-lookup)<br /><br />Devuelve una lista de miembros de una List especificada<br /><br />[GET /2/lists/:id/members](/x-api/lists/get-list-members)<br /><br />Devuelve todas las Lists a las que pertenece un usuario especificado<br /><br />[GET /2/users/:id/list\_memberships](/x-api/users/get-list-memberships)                                                                                                                                                                                                                                                                         | ✅                           | ✅                                   | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />list.read                                                        |
| [Gestionar miembros de una List](/x-api/lists/list-members/introduction#manage-list-members)<br /><br />Añade un miembro a una List de la que es propietario el usuario autenticado<br /><br />[POST /2/lists/:id/members](/x-api/lists/add-list-member)<br /><br />Elimina un miembro de una List de la que es propietario el usuario autenticado<br /><br />[DELETE /2/lists/:id/members/:user\_id](/x-api/lists/remove-a-list-member)                                                                                                                                                                                                                                          | ✅                           |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />list.write                                                       |
| [Búsqueda de follows de una List](/x-api/lists/list-lookup/introduction)<br /><br />Devuelve todos los seguidores de una List especificada<br /><br />[GET /2/lists/:id/followers](/x-api/lists/get-list-followers)<br /><br />Devuelve todas las Lists a las que sigue un usuario especificado<br /><br />[GET /2/users/:id/followed\_lists](/x-api/users/get-followed-lists)                                                                                                                                                                                                                                                                                                    | ✅                           | ✅                                   | ✅<br /><br />Scope                                                                                                                           |
