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

# X API v2 認証マッピング

> 以下の表は、どの v2 エンドポイントがどの認証方式に対応するかを示しています。X Developer Platform の 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>;
};

以下の表は、どの v2 エンドポイントがどの認証方式に対応するかを示しています。

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                             |                                     |                                                                                                                                              |
| :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------- | :---------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------- |
| **エンドポイント**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | **OAuth 1.0a User Context** | **OAuth 2.0** **App Only   <br />** | **OAuth 2.0  <br />Authorization Code with PKCE**                                                                                            |
| [Tweet lookup](/x-api/posts/lookup/introduction)<br /><br />ID のリストで複数の Tweet を取得<br /><br />[GET /2/tweets](/x-api/posts/post-lookup-by-post-ids)<br /><br />ID で単一の Tweet を取得<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                                                                           |
| [Manage Tweets](/x-api/posts/manage-tweets/introduction)<br /><br />Tweet を投稿<br /><br />[POST /2/tweets](/x-api/posts/creation-of-a-post)<br /><br />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 />ユーザーの Tweet タイムライン<br /><br />[GET /2/users/:id/tweets](/x-api/users/get-posts)<br /><br />ユーザーのメンションタイムライン<br /><br />[GET /2/users/:id/mentions](/x-api/users/get-mentions)<br /><br />逆時系列のホームタイムライン<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 |
| [Recent search](/x-api/posts/search/introduction#recent-search)<br /><br />過去 7 日間に公開された Tweet を検索<br /><br />[GET /2/tweets/search/recent](/x-api/posts/recent-search)                                                                                                                                                                                                                                                                                                                                                             | ✅                           | ✅                                   | ✅<br /><br />Scopes: <br /><br />tweet.read<br /><br />users.read                                                                            |
| [Full-archive search](/x-api/posts/search/introduction#full-archive-search)<br /><br />Academic Research アクセスを持つユーザーのみ利用可能<br /><br />Tweet の全アーカイブを検索<br /><br />[GET /2/tweets/search/all](/x-api/posts/full-archive-search)                                                                                                                                                                                                                                                                                                      |                             | ✅                                   |                                                                                                                                              |
| [Filtered stream](/x-api/posts/filtered-stream/introduction)<br /><br />ストリームにルールを追加または削除<br /><br />[POST /2/tweets/search/stream/rules](/x-api/stream/update-stream-rules)<br /><br />ストリームのルールを取得<br /><br />[GET /2/tweets/search/stream/rules](/x-api/stream/get-stream-rules)<br /><br />ストリームに接続<br /><br />[GET /2/tweets/search/stream](/x-api/posts/filtered-stream)                                                                                                                                                      |                             | ✅                                   |                                                                                                                                              |
| [Volume streams](/x-api/posts/volume-streams/introduction)<br /><br />すべての Tweet の約 1% をリアルタイムでストリーミング。<br /><br />[GET /2/tweets/sample/stream](/x-api/stream/stream-sampled-posts)                                                                                                                                                                                                                                                                                                                                                |                             | ✅                                   |                                                                                                                                              |
| [Manage Retweets](/x-api/posts/retweets/introduction#manage-retweets)<br /><br />Tweet を Retweet<br /><br />[POST /2/users/:id/retweets](/x-api/posts/retrieve-posts-that-repost-a-post)<br /><br />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                                                      |
| [Retweets lookup](/x-api/posts/retweets/introduction#retweets-lookup)<br /><br />Tweet を Retweet したユーザー<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 [lookup](/x-api/posts/bookmarks/introduction#bookmarks-lookup)<br /><br />ブックマーク済みの Tweet を取得<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                                                    |
| [Manage Bookmarks](/x-api/posts/bookmarks/introduction#manage-bookmarks)<br /><br />Tweet をブックマーク<br /><br />[POST /2/tweets/:id/bookmarks](/x-api/bookmarks/add-post-to-bookmarks)<br /><br />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                                                   |
| [Manage Likes](/x-api/posts/likes/introduction#manage-likes)<br /><br />Tweet にいいね<br /><br />[POST /2/users/:id/likes](/x-api/users/like-post)<br /><br />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                                                       |
| [Likes lookup](/x-api/posts/likes/introduction#likes-lookup)<br /><br />Tweet にいいねしたユーザー<br /><br />[GET /2/tweets/:id/liking\_users](/x-api/posts/get-liking-users)<br /><br />ユーザーがいいねした Tweet<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                                                        |
| [Hide replies](/x-api/posts/hide-replies/introduction)<br /><br />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                                             |
| [Users lookup](/x-api/users/lookup/introduction)<br /><br />ID で複数のユーザーを取得<br /><br />[GET /2/users](/x-api/users/user-lookup-by-ids)<br /><br />ID で単一のユーザーを取得<br /><br />[GET /2/users/:id](/x-api/users/user-lookup-by-id)<br /><br />ユーザー名で複数のユーザーを取得<br /><br />[GET /2/users/by](/x-api/users/user-lookup-by-usernames)<br /><br />ユーザー名で単一のユーザーを取得<br /><br />[GET /2/users/by/username/:username](/x-api/users/user-lookup-by-username)<br /><br />認証済みユーザーの情報を取得<br /><br />[GET /2/users/me](/x-api/users/user-lookup-me) | ✅                           | ✅                                   | ✅<br /><br />Scopes:<br /><br />tweet.read<br /><br />users.read                                                                             |
| [Manage follows](/x-api/users/follows/introduction#manage-follows)<br /><br />ユーザー ID が別のユーザーをフォロー<br /><br />[POST /2/users/:id/following](/x-api/users/follow-user)<br /><br />ユーザー ID が別のユーザーのフォローを解除<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                                                   |
| [Follows lookup](/x-api/users/follows/introduction#follows-lookup)<br /><br />ID でユーザーのフォロー中を取得<br /><br />[GET /2/users/:id/following](/x-api/users/following-by-user-id)<br /><br />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                                                     |
| [Blocks lookup](/x-api/users/blocks/introduction#blocks-lookup)<br /><br />指定されたユーザー ID がブロックしているユーザーのリストを返す <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                                                       |
| [Manage Mutes](/x-api/users/mutes/introduction#manage-mutes)<br /><br />ユーザー ID が別のユーザーをミュート<br /><br />[POST /2/users/:id/muting](/x-api/users/mute-user-by-user-id)<br /><br />ユーザー ID が別のユーザーのミュートを解除<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                                                       |
| [Mutes lookup](/x-api/users/mutes/introduction#mutes-lookup)<br /><br />指定されたユーザー ID がミュートしているユーザーのリストを返す<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                                                        |
| [Spaces lookup](/x-api/spaces/lookup/introduction)<br /><br />ID で Space を取得<br /><br />[GET /2/spaces/:id](/x-api/spaces/space-lookup-by-space-id)<br /><br />複数の Spaces を取得 <br /><br />[GET /2/spaces](/x-api/spaces/space-lookup-up-space-ids)<br /><br />ユーザー ID で作成された Spaces を検索<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                                                       |
| [Spaces lookup](/x-api/spaces/lookup/introduction)<br /><br />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                                                       |
| [Spaces search](/x-api/spaces/search/introduction)<br /><br />指定した検索語に一致するライブまたは予約済みの Spaces を返します。<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                                                       |
| [List lookup](/x-api/lists/list-lookup/introduction)<br /><br />ID で特定のリストを取得<br /><br />[GET /2/lists/:id](/x-api/lists/list-lookup-by-list-id)<br /><br />ユーザーが所有する List を取得<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                                                        |
| [Manage Lists](/x-api/lists/manage-lists/introduction)<br /><br />認証済みユーザーに代わって新しい List を作成<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                                  |
| [Manage Lists](/x-api/lists/manage-lists/introduction)<br /><br />認証済みユーザーが所有する List を削除<br /><br />[DELETE /2/lists/:id](/x-api/lists/delete-list)<br /><br />認証済みユーザーが所有する List のメタデータを更新<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                                                       |
| [List Tweets lookup](/x-api/lists/list-tweets/introduction)<br /><br />指定した List からの Tweet を取得<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                                                        |
| [List members lookup](/x-api/lists/list-members/introduction#list-members-lookup)<br /><br />指定した List のメンバーのリストを返す<br /><br />[GET /2/lists/:id/members](/x-api/lists/get-list-members)<br /><br />指定したユーザーがメンバーになっているすべての List を返す<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                                                        |
| [Manage List members](/x-api/lists/list-members/introduction#manage-list-members)<br /><br />認証済みユーザーが所有する List にメンバーを追加<br /><br />[POST /2/lists/:id/members](/x-api/lists/add-list-member)<br /><br />認証済みユーザーが所有する List からメンバーを削除<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                                                       |
| [List follows lookup](/x-api/lists/list-lookup/introduction)<br /><br />指定した List のすべてのフォロワーを返す<br /><br />[GET /2/lists/:id/followers](/x-api/lists/get-list-followers)<br /><br />指定したユーザーがフォローしているすべての List を返す<br /><br />[GET /2/users/:id/followed\_lists](/x-api/users/get-followed-lists)                                                                                                                                                                                                                                   | ✅                           | ✅                                   | ✅<br /><br />Scope                                                                                                                           |
