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

# Mapeo de autenticación en X API 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 muestra qué endpoints de la v2 se corresponden con cada método de autenticación.

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                       |                                     |                                                                                                                                                  |
| :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------ | :---------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------- |
| **Endpoint**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | **Contexto de usuario de OAuth 1.0a** | **OAuth 2.0** **Solo App   <br />** | **OAuth 2.0  <br />Código de autorización con PKCE**                                                                                             |
| [Búsqueda de Tweets](/es/x-api/posts/lookup/introduction)<br /><br />Recupera varios Tweets con una lista de IDs<br /><br />[GET /2/tweets](/es/x-api/posts/post-lookup-by-post-ids)<br /><br />Recupera un solo Tweet con un ID<br /><br />[GET /2/tweets/:id](/es/x-api/posts/post-lookup-by-post-id)                                                                                                                                                                                                                                                                                                                                                                                    | ✅                                     | ✅                                   | ✅  <br /><br />Permisos (scopes):<br /><br />tweet.read<br /><br />users.read                                                                    |
| [Administrar Tweets](/es/x-api/posts/manage-tweets/introduction)<br /><br />Publicar un Tweet<br /><br />[POST /2/tweets](/es/x-api/posts/creation-of-a-post)<br /><br />Eliminar un Tweet<br /><br />[DELETE /2/tweets/:id](/es/x-api/posts/post-delete-by-post-id)                                                                                                                                                                                                                                                                                                                                                                                                                       | ✅                                     |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />tweet.write<br /><br />users.read                                                        |
| [Cronologías](/es/x-api/posts/timelines/introduction)<br /><br />Cronología de Tweets del usuario<br /><br />[GET /2/users/:id/tweets](/es/x-api/posts/user-posts-timeline-by-user-id)<br /><br />Cronología de menciones del usuario<br /><br />[GET /2/users/:id/mentions](/es/x-api/posts/user-mention-timeline-by-user-id)<br /><br />Cronología de inicio en orden cronológico inverso<br /><br />[GET /2/users/:id/timelines/reverse\_cronological](/es/x-api/posts/timelines#user-mention-timeline-3)                                                                                                                                                                               | ✅<br /><br />✅                        | ✅                                   | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read |
| [Búsqueda reciente](/es/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](/es/x-api/posts/recent-search)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ✅                                     | ✅                                   | ✅<br /><br />Permisos: <br /><br />tweet.read<br /><br />users.read                                                                              |
| [Búsqueda en el archivo completo](/es/x-api/posts/search/introduction#full-archive-search)<br /><br />Solo disponible para quienes tienen acceso al programa Academic Research<br /><br />Busca en todo el archivo de Tweets<br /><br />[GET /2/tweets/search/all](/es/x-api/posts/full-archive-search)                                                                                                                                                                                                                                                                                                                                                                                    |                                       | ✅                                   |                                                                                                                                                  |
| [Flujo filtrado](/es/x-api/posts/filtered-stream/introduction)<br /><br />Agregar o eliminar reglas de tu flujo<br /><br />[POST /2/tweets/search/stream/rules](/es/x-api/posts/adddelete-rules)<br /><br />Obtener las reglas de tu flujo<br /><br />[GET /2/tweets/search/stream/rules](/es/x-api/posts/rules-lookup)<br /><br />Conectarse al flujo<br /><br />[GET /2/tweets/search/stream](/es/x-api/posts/filtered-stream)                                                                                                                                                                                                                                                           |                                       | ✅                                   |                                                                                                                                                  |
| [Flujos de volumen](/es/x-api/posts/volume-streams/introduction)<br /><br />Transmite en tiempo real aproximadamente el 1 % de todos los Tweets.<br /><br />[GET /2/tweets/sample/stream](/es/x-api/posts/sample-stream)                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                       | ✅                                   |                                                                                                                                                  |
| [Administrar Retweets](/es/x-api/posts/retweets/introduction#manage-retweets)<br /><br />Retuitear un Tweet<br /><br />[POST /2/users/:id/retweets](/es/x-api/posts/retrieve-posts-that-repost-a-post)<br /><br />Eliminar un Retweet<br /><br />[DELETE /2/users/:id/retweets/:source\_tweet\_id](/es/x-api/posts/causes-the-user-in-the-path-to-unretweet-the-specified-post)                                                                                                                                                                                                                                                                                                            | ✅                                     |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />tweet.write<br /><br />users.read                                                        |
| [Consulta de Retweets](/es/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](/es/x-api/users/returns-user-objects-that-have-retweeted-the-provided-post-id)                                                                                                                                                                                                                                                                                                                                                                                                                            | ✅                                     | ✅                                   | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read                                                                               |
| Marcadores [consulta](/es/x-api/posts/bookmarks/introduction#bookmarks-lookup)<br /><br />Obtener Tweets guardados en Marcadores<br /><br />[GET /2/tweets/:id/bookmarks](/es/x-api/bookmarks/bookmarks-by-user)                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                                       |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />bookmark.read                                                      |
| [Gestionar marcadores](/es/x-api/posts/bookmarks/introduction#manage-bookmarks)<br /><br />Añadir un Tweet a marcadores<br /><br />[POST /2/tweets/:id/bookmarks](/es/x-api/bookmarks/add-post-to-bookmarks)<br /><br />Eliminar el marcador de un Tweet<br /><br />[DELETE /2/users/:id/bookmarks:tweet\_id](/es/x-api/bookmarks/remove-a-bookmarked-post)                                                                                                                                                                                                                                                                                                                                |                                       |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />bookmark.write                                                     |
| [Administrar Me gusta](/es/x-api/posts/likes/introduction#manage-likes)<br /><br />Dar Me gusta a un Tweet<br /><br />[POST /2/users/:id/likes](/es/x-api/posts/causes-the-user-in-the-path-to-like-the-specified-post)<br /><br />Deshacer un Me gusta en un Tweet<br /><br />[DELETE /2/users/:id/likes/:tweet\_id](/es/x-api/posts/causes-the-user-in-the-path-to-unlike-the-specified-post)                                                                                                                                                                                                                                                                                            | ✅                                     |                                     | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />like.write                                                           |
| [Búsqueda de Me gusta](/es/x-api/posts/likes/introduction#likes-lookup)<br /><br />Usuarios que han dado Me gusta a un Tweet<br /><br />[GET /2/tweets/:id/liking\_users](/es/x-api/users/returns-user-objects-that-have-liked-the-provided-post-id)<br /><br />Tweets a los que un usuario ha dado Me gusta<br /><br />[GET /2/users/:id/liked\_tweets](/es/x-api/posts/returns-post-objects-liked-by-the-provided-user-id)                                                                                                                                                                                                                                                               | ✅                                     | ✅                                   | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read<br /><br />like.read                                                            |
| [Ocultar respuestas](/es/x-api/posts/hide-replies/introduction)<br /><br />Oculta o deja de ocultar una respuesta a un Tweet.<br /><br />[PUT /2/tweets/:id/hidden](/es/x-api/posts/hide-replies)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ✅                                     |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />tweet.moderate.write                                               |
| [Búsqueda de usuarios](/es/x-api/users/lookup/introduction)<br /><br />Obtener varios usuarios por id<br /><br />[GET /2/users](/es/x-api/users/user-lookup-by-ids)<br /><br />Obtener un solo usuario por id<br /><br />[GET /2/users/:id](/es/x-api/users/user-lookup-by-id)<br /><br />Obtener varios usuarios por nombres de usuario<br /><br />[GET /2/users/by](/es/x-api/users/user-lookup-by-usernames)<br /><br />Obtener un solo usuario por nombre de usuario<br /><br />[GET /2/users/by/username/:username](/es/x-api/users/user-lookup-by-username)<br /><br />Obtener información sobre un usuario autenticado<br /><br />[GET /2/users/me](/es/x-api/users/user-lookup-me) | ✅                                     | ✅                                   | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read                                                                               |
| [Administrar seguimientos](/es/x-api/users/follows/introduction#manage-follows)<br /><br />Permite que un ID de usuario siga a otro usuario<br /><br />[POST /2/users/:id/following](/es/x-api/users/follow-user)<br /><br />Permite que un ID de usuario deje de seguir a otro usuario<br /><br />[DELETE /2/users/:source\_user\_id/following/:target\_user\_id](/es/x-api/users/unfollow-user)                                                                                                                                                                                                                                                                                          | ✅                                     |                                     | ✅<br /><br />Scopes: <br /><br />tweet.read<br /><br />users.read<br /><br />follows.write                                                       |
| [Consulta de seguimientos](/es/x-api/users/follows/introduction#follows-lookup)<br /><br />Consulta a quiénes sigue un usuario por ID<br /><br />[GET /2/users/:id/following](/es/x-api/users/following-by-user-id)<br /><br />Consulta los seguidores de un usuario por ID<br /><br />[GET /2/users/:id/followers](/es/x-api/users/followers-by-user-id)                                                                                                                                                                                                                                                                                                                                  | ✅                                     | ✅                                   | ✅<br /><br />Permisos de acceso:<br /><br />tweet.read<br /><br />users.read<br /><br />follows.read                                             |
| [Consulta de bloqueos](/es/x-api/users/blocks/introduction#blocks-lookup)<br /><br />Devuelve una lista de usuarios que están bloqueados por el id de usuario especificado<br /><br />[GET /2/users/:id/blocking](/es/x-api/users/returns-user-objects-that-are-blocked-by-provided-user-id)                                                                                                                                                                                                                                                                                                                                                                                               | ✅                                     |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />block.read                                                         |
| [Administrar silenciamientos](/es/x-api/users/mutes/introduction#manage-mutes)<br /><br />Permite que el usuario con el identificador especificado silencie a otro usuario<br /><br />[POST /2/users/:id/muting](/es/x-api/users/mute-user-by-user-id)<br /><br />Permite que el usuario con el identificador especificado deje de silenciar a otro usuario<br /><br />[DELETE /2/users/:source\_user\_id/muting/:target\_user\_id](/es/x-api/users/unmute-user-by-user-id)                                                                                                                                                                                                                | ✅                                     |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />mute.write                                                         |
| [Búsqueda de silencios](/es/x-api/users/mutes/introduction#mutes-lookup)<br /><br />Devuelve una lista de usuarios silenciados por el ID de usuario especificado<br /><br />[GET /2/users/:id/muting](/es/x-api/users/returns-user-objects-that-are-muted-by-the-provided-user-id)                                                                                                                                                                                                                                                                                                                                                                                                         | ✅                                     |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />mute.read                                                          |
| [Búsqueda de Spaces](/es/x-api/spaces/lookup/introduction)<br /><br />Buscar un Space por id<br /><br />[GET /2/spaces/:id](/es/x-api/spaces/space-lookup-by-space-id)<br /><br />Buscar varios Spaces <br /><br />[GET /2/spaces](/es/x-api/spaces/space-lookup-up-space-ids)<br /><br />Descubrir Spaces creados por id de usuario<br /><br />[GET /2/spaces/by/creator\_ids](/es/x-api/spaces/space-lookup-by-their-creators)                                                                                                                                                                                                                                                           |                                       | ✅                                   | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />space.read                                                         |
| [Búsqueda de Spaces](/es/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](/es/x-api/spaces/retrieve-the-list-of-users-who-purchased-a-ticket-to-the-given-space)                                                                                                                                                                                                                                                                                                                                                                                                                              |                                       |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />space.read                                                         |
| [Búsqueda de Spaces](/es/x-api/spaces/search/introduction)<br /><br />Devuelve Spaces en directo o programados que coincidan con los términos de búsqueda que especifiques.<br /><br />[GET /2/spaces/search](/es/x-api/spaces/search-for-spaces)                                                                                                                                                                                                                                                                                                                                                                                                                                          |                                       | ✅                                   | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />space.read                                                         |
| [Consulta de Listas](/es/x-api/lists/list-lookup/introduction)<br /><br />Consulta una Lista específica por id<br /><br />[GET /2/lists/:id](/es/x-api/lists/list-lookup-by-list-id)<br /><br />Consulta las Listas propiedad de un usuario<br /><br />[GET /2/users/:id/owned\_lists](/es/x-api/lists/get-a-users-owned-lists)                                                                                                                                                                                                                                                                                                                                                            | ✅                                     | ✅                                   | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />list.read                                                          |
| [Administrar listas](/es/x-api/lists/manage-lists/introduction)<br /><br />Crea una nueva lista en nombre de un usuario autenticado<br /><br />[POST /2/lists](/es/x-api/lists/create-list)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ✅                                     |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />list.read<br /><br />list.write                                    |
| [Administrar Listas](/es/x-api/lists/manage-lists/introduction)<br /><br />Elimina una Lista propiedad del usuario autenticado<br /><br />[DELETE /2/lists/:id](/es/x-api/lists/delete-list)<br /><br />Actualiza los metadatos de una Lista propiedad del usuario autenticado<br /><br />[PUT /2/lists/:id](/es/x-api/lists/update-list)                                                                                                                                                                                                                                                                                                                                                  | ✅                                     |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />list.write                                                         |
| [Búsqueda de Tweets de una Lista](/es/x-api/lists/list-tweets/introduction)<br /><br />Consultar Tweets de una Lista específica<br /><br />[GET /2/lists/:id/tweets](/es/x-api/posts/list-posts-timeline-by-list-id)                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ✅                                     | ✅                                   | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />list.read                                                          |
| [Búsqueda de miembros de la Lista](/es/x-api/lists/list-members/introduction#list-members-lookup)<br /><br />Devuelve una lista de miembros de una Lista determinada<br /><br />[GET /2/lists/:id/members](/es/x-api/users/returns-user-objects-that-are-members-of-a-list-by-the-provided-list-id)<br /><br />Devuelve todas las Listas a las que pertenece un usuario especificado<br /><br />[GET /2/users/:id/list\_memberships](/es/x-api/lists/get-a-users-list-memberships)                                                                                                                                                                                                         | ✅                                     | ✅                                   | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />list.read                                                          |
| [Administrar miembros de la Lista](/es/x-api/lists/list-members/introduction#manage-list-members)<br /><br />Agregar un miembro a una Lista que es propiedad del usuario autenticado<br /><br />[POST /2/lists/:id/members](/es/x-api/users/returns-user-objects-that-are-members-of-a-list-by-the-provided-list-id)<br /><br />Elimina un miembro de una Lista que es propiedad del usuario autenticado<br /><br />[DELETE /2/lists/:id/members/:user\_id](/es/x-api/lists/remove-a-list-member)                                                                                                                                                                                          | ✅                                     |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />list.write                                                         |
| [Consulta de follows de Lista](/es/x-api/lists/list-lookup/introduction)<br /><br />Devuelve todos los seguidores de una Lista determinada<br /><br />[GET /2/lists/:id/followers](/es/x-api/users/returns-user-objects-that-follow-a-list-by-the-provided-list-id)<br /><br />Devuelve todas las Listas que sigue un usuario determinado<br /><br />[GET /2/users/:id/followed\_lists](/es/x-api/lists/get-users-followed-lists)                                                                                                                                                                                                                                                          | ✅                                     | ✅                                   | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />list.read                                                          |
| [Administrar listas seguidas](/es/x-api/lists/manage-lists/introduction)<br /><br />Sigue una Lista en nombre de un usuario autenticado<br /><br />[POST /2/users/:id/followed\_lists](/es/x-api/lists/follow-a-list)<br /><br />Deja de seguir una Lista en nombre de un usuario autenticado<br /><br />[DELETE /2/users/:id/followed\_lists/:list\_id](/es/x-api/lists/unfollow-a-list)                                                                                                                                                                                                                                                                                                  | ✅                                     |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />list.write                                                         |
| [Consulta de Listas fijadas](/es/x-api/lists/pinned-lists/introduction)<br /><br />Devuelve las listas fijadas del usuario autenticado<br /><br />[GET /2/users/:id/pinned\_lists](/es/x-api/lists/get-a-users-pinned-lists)                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ✅                                     |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />list.read                                                          |
| [Administrar Lista fijada](/es/x-api/lists/pinned-lists/introduction)<br /><br />Fija una Lista en nombre de un usuario autenticado<br /><br />[POST /2/users/:id/pinned\_lists](/es/x-api/lists/pin-a-list)<br /><br />Desfija una Lista en nombre de un usuario autenticado<br /><br />[DELETE /2/users/:id/pinned\_lists/:list\_id](/es/x-api/lists/unpin-a-list)                                                                                                                                                                                                                                                                                                                       | ✅                                     |                                     | ✅<br /><br />Permisos:<br /><br />tweet.read<br /><br />users.read<br /><br />list.write                                                         |
| [Cumplimiento por lotes](/es/x-api/compliance/batch-compliance/introduction)<br /><br />Crea un nuevo trabajo de cumplimiento<br /><br />[POST /2/compliance/jobs](/es/x-api/compliance/create-compliance-job)<br /><br />Devuelve el estado y la información de descarga de un trabajo de cumplimiento especificado<br /><br />[GET /2/compliance/jobs/:job\_id](/es/x-api/compliance/get-compliance-job)<br /><br />Devuelve una lista de trabajos de cumplimiento recientes<br /><br />[GET /2/compliance/jobs](/es/x-api/compliance/list-compliance-jobs)                                                                                                                              |                                       | ✅                                   |                                                                                                                                                  |
