{"files":{"SKILL.md":"---\nname: twitter-openapi\ndescription: \"Twitter OpenAPI API skill. Use when working with Twitter OpenAPI for 1.1, 2, graphql. Covers 93 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Twitter OpenAPI\nAPI version: 0.0.1\n\n## Auth\nApiKey Accept in header | ApiKey Accept-Encoding in header | ApiKey Accept-Language in header | ApiKey x-twitter-active-user in header | ApiKey x-twitter-auth-type in header | Bearer bearer | ApiKey x-twitter-client-language in header | ApiKey x-client-transaction-id in header | ApiKey x-client-uuid in header | ApiKey auth_token in cookie | ApiKey ct0 in cookie | ApiKey gt0 in cookie | ApiKey x-csrf-token in header | ApiKey x-guest-token in header | ApiKey Priority in header | ApiKey Referer in header | ApiKey Sec-Ch-Ua in header | ApiKey Sec-Ch-Ua-Mobile in header | ApiKey Sec-Ch-Ua-Platform in header | ApiKey Sec-Fetch-Dest in header | ApiKey Sec-Fetch-Mode in header | ApiKey Sec-Fetch-Site in header | ApiKey user-agent in header\n\n## Base URL\nhttps://x.com/i/api\n\n## Setup\n1. Set Authorization header with Bearer token\n2. GET /1.1/friends/following/list.json -- get friends following list\n3. POST /1.1/friendships/create.json -- create first create.json\n\n## Endpoints\n93 endpoints across 4 groups. See references/api-spec.lap for full details.\n\n### 1.1\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /1.1/friends/following/list.json | get friends following list |\n| POST | /1.1/friendships/create.json | post create friendships |\n| POST | /1.1/friendships/destroy.json | post destroy friendships |\n| GET | /1.1/search/typeahead.json | get search typeahead |\n\n### 2\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /2/search/adaptive.json | get search adaptive |\n| POST | /2/timeline/feedback.json | post timeline feedback |\n\n### Graphql\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /graphql/{pathQueryId}/AboutAccountQuery | About this account: join date, where the account is based, username changes, verification |\n| GET | /graphql/{pathQueryId}/AudioSpaceById | a Space by id: metadata, participants and the announcing post |\n| GET | /graphql/{pathQueryId}/AuthenticatePeriscope | a Periscope (live video) token for the account |\n| GET | /graphql/{pathQueryId}/BirdwatchFetchAliasSelfSelectStatus | whether the account can pick / has picked a Community Notes alias |\n| GET | /graphql/{pathQueryId}/BirdwatchFetchAuthenticatedUserProfile | the account's Community Notes profile |\n| GET | /graphql/{pathQueryId}/BirdwatchFetchBirdwatchProfile | a Community Notes profile by alias |\n| GET | /graphql/{pathQueryId}/BirdwatchFetchGlobalTimeline | the Community Notes home page (segmented timelines) |\n| GET | /graphql/{pathQueryId}/BirdwatchFetchPublicData | download urls of the latest Community Notes public data files |\n| GET | /graphql/{pathQueryId}/BlueVerifiedFollowers | get blue verified followers |\n| GET | /graphql/{pathQueryId}/BookmarkSearchTimeline | search the account's bookmarks |\n| GET | /graphql/{pathQueryId}/Bookmarks | get bookmarks |\n| GET | /graphql/{pathQueryId}/BroadcastQuery | a live video broadcast by id |\n| GET | /graphql/{pathQueryId}/CombinedLists | lists a user owns or follows |\n| GET | /graphql/{pathQueryId}/CommunitiesFetchOneQuery | a community by id (community page) |\n| GET | /graphql/{pathQueryId}/CommunitiesSearchQuery | search communities. cursor:[slice_info.next_cursor] |\n| GET | /graphql/{pathQueryId}/CommunityAboutTimeline | get about of community |\n| GET | /graphql/{pathQueryId}/CommunityDiscoveryTimeline | get the communities discovery timeline |\n| GET | /graphql/{pathQueryId}/CommunityMediaTimeline | get media list of community |\n| GET | /graphql/{pathQueryId}/CommunityQuery | a community by id (community settings and moderation pages) |\n| GET | /graphql/{pathQueryId}/CommunityTweetsTimeline | get tweet list of community. rankingMode:[Recency, Relevance] |\n| GET | /graphql/{pathQueryId}/ConnectTabTimeline | get the Connect tab (who to follow) timeline |\n| POST | /graphql/{pathQueryId}/CreateBookmark | create Bookmark |\n| POST | /graphql/{pathQueryId}/CreateDraftTweet | save a draft |\n| POST | /graphql/{pathQueryId}/CreateList | create list |\n| POST | /graphql/{pathQueryId}/CreateRetweet | create Retweet |\n| POST | /graphql/{pathQueryId}/CreateTweet | create Tweet |\n| GET | /graphql/{pathQueryId}/CreatorStudioTabBarItemQuery | audience rewards tasks shown in Creator Studio |\n| GET | /graphql/{pathQueryId}/DataSaverMode | data saver setting of the account |\n| POST | /graphql/{pathQueryId}/DeleteBookmark | delete Bookmark |\n| POST | /graphql/{pathQueryId}/DeleteDraftTweets | delete drafts |\n| POST | /graphql/{pathQueryId}/DeleteList | delete list |\n| POST | /graphql/{pathQueryId}/DeleteRetweet | delete Retweet |\n| POST | /graphql/{pathQueryId}/DeleteTweet | delete Retweet |\n| GET | /graphql/{pathQueryId}/ExplorePage | get the explore page (segmented timelines) |\n| GET | /graphql/{pathQueryId}/ExploreSidebar | the explore sidebar (trends) |\n| POST | /graphql/{pathQueryId}/FavoriteTweet | favorite Tweet |\n| GET | /graphql/{pathQueryId}/Favoriters | get tweet favoriters |\n| GET | /graphql/{pathQueryId}/FetchDraftTweets | get drafts (unsent posts) |\n| GET | /graphql/{pathQueryId}/FetchScheduledTweets | get scheduled posts |\n| GET | /graphql/{pathQueryId}/Followers | get user list of followers |\n| GET | /graphql/{pathQueryId}/FollowersYouKnow | get followers you know |\n| GET | /graphql/{pathQueryId}/Following | get user list of following |\n| GET | /graphql/{pathQueryId}/GenericTimelineById | get a generic timeline by its id (explore tabs) |\n| GET | /graphql/{pathQueryId}/GlobalCommunitiesLatestPostSearchTimeline | search posts across communities (Latest) |\n| GET | /graphql/{pathQueryId}/GlobalCommunitiesPostSearchTimeline | search posts across communities (Top) |\n| GET | /graphql/{pathQueryId}/GrokHome | Grok home: model options, prompts and eligibility |\n| GET | /graphql/{pathQueryId}/HomeLatestTimeline | get tweet list of timeline |\n| GET | /graphql/{pathQueryId}/HomeTimeline | get tweet list of timeline |\n| GET | /graphql/{pathQueryId}/Likes | get user likes tweets |\n| POST | /graphql/{pathQueryId}/ListAddMember | add a member to a list |\n| GET | /graphql/{pathQueryId}/ListByRestId | get list |\n| GET | /graphql/{pathQueryId}/ListCreationRecommendedUsers | get recommended members while creating a list |\n| GET | /graphql/{pathQueryId}/ListEditRecommendedUsers | get recommended members while editing a list |\n| GET | /graphql/{pathQueryId}/ListLatestTweetsTimeline | get tweet list of timeline |\n| GET | /graphql/{pathQueryId}/ListMembers | get list members |\n| GET | /graphql/{pathQueryId}/ListOwnerships | get the lists a user owns (add/remove from Lists dialog) |\n| POST | /graphql/{pathQueryId}/ListRemoveMember | remove a member from a list |\n| GET | /graphql/{pathQueryId}/ListSearchTimeline | search lists |\n| GET | /graphql/{pathQueryId}/ListSubscribers | get list subscribers (followers) |\n| GET | /graphql/{pathQueryId}/ListsManagementPageTimeline | the account's lists management page |\n| GET | /graphql/{pathQueryId}/NotificationsTimeline | get notification list. timeline_type:[All, Verified, Mentions] |\n| GET | /graphql/{pathQueryId}/PinnedTimelines | the account's pinned timelines |\n| GET | /graphql/{pathQueryId}/ProfileSpotlightsQuery | get user by screen name |\n| GET | /graphql/{pathQueryId}/Retweeters | get tweet retweeters |\n| GET | /graphql/{pathQueryId}/SearchTimeline | search tweet list. product:[Top, Latest, People, Photos, Videos] |\n| GET | /graphql/{pathQueryId}/SidebarUserRecommendations | who to follow, shown in the sidebar of a profile |\n| GET | /graphql/{pathQueryId}/TopicCarouselQuery | community topics and subtopics |\n| GET | /graphql/{pathQueryId}/TweetDetail | get TweetDetail |\n| GET | /graphql/{pathQueryId}/TweetResultByRestId | get TweetResultByRestId |\n| POST | /graphql/{pathQueryId}/UnfavoriteTweet | unfavorite Tweet |\n| GET | /graphql/{pathQueryId}/UserByRestId | get user by rest id. Deprecated: X answers 403 outside a browser since 2026-10 |\n| GET | /graphql/{pathQueryId}/UserByScreenName | get user by screen name |\n| GET | /graphql/{pathQueryId}/UserHighlightsTweets | get user highlights tweets |\n| GET | /graphql/{pathQueryId}/UserMedia | get user media tweets |\n| GET | /graphql/{pathQueryId}/UserOriginalsTimeline | get user tweets (profile posts tab) |\n| GET | /graphql/{pathQueryId}/UserRepliesTimeline | get user tweets and replies (profile replies tab) |\n| GET | /graphql/{pathQueryId}/UserRepostsTimeline | get user reposts (profile reposts tab) |\n| GET | /graphql/{pathQueryId}/UserSuperFollowTweets | get user super follow tweets (subscriptions tab) |\n| GET | /graphql/{pathQueryId}/UserTweets | get user tweets |\n| GET | /graphql/{pathQueryId}/UserTweetsAndReplies | get user replies tweets |\n| GET | /graphql/{pathQueryId}/UserVideoTimeline | get user media (profile media tab) |\n| GET | /graphql/{pathQueryId}/UsersByRestIds | get users by rest ids. Deprecated: X answers 403 outside a browser since 2026-10 |\n| GET | /graphql/{pathQueryId}/UsersVerifiedAvatars | verified-avatar users by ids |\n| GET | /graphql/{pathQueryId}/ViewerBadgeCounts | get the unread badge counts of the viewer |\n| GET | /graphql/{pathQueryId}/grokAccountJwtQuery | whether the account is linked to a Grok account |\n| GET | /graphql/{pathQueryId}/useStoryTopicQuery | AI-written stories of an explore topic (rest_id: For You) |\n\n### Other\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /other | This is not an actual endpoint |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all list.json?\" -> GET /1.1/friends/following/list.json\n- \"Create a create.json?\" -> POST /1.1/friendships/create.json\n- \"Create a destroy.json?\" -> POST /1.1/friendships/destroy.json\n- \"Search typeahead.json?\" -> GET /1.1/search/typeahead.json\n- \"Search adaptive.json?\" -> GET /2/search/adaptive.json\n- \"Create a feedback.json?\" -> POST /2/timeline/feedback.json\n- \"List all AboutAccountQuery?\" -> GET /graphql/{pathQueryId}/AboutAccountQuery\n- \"List all AudioSpaceById?\" -> GET /graphql/{pathQueryId}/AudioSpaceById\n- \"List all AuthenticatePeriscope?\" -> GET /graphql/{pathQueryId}/AuthenticatePeriscope\n- \"List all BirdwatchFetchAliasSelfSelectStatus?\" -> GET /graphql/{pathQueryId}/BirdwatchFetchAliasSelfSelectStatus\n- \"List all BirdwatchFetchAuthenticatedUserProfile?\" -> GET /graphql/{pathQueryId}/BirdwatchFetchAuthenticatedUserProfile\n- \"List all BirdwatchFetchBirdwatchProfile?\" -> GET /graphql/{pathQueryId}/BirdwatchFetchBirdwatchProfile\n- \"List all BirdwatchFetchGlobalTimeline?\" -> GET /graphql/{pathQueryId}/BirdwatchFetchGlobalTimeline\n- \"List all BirdwatchFetchPublicData?\" -> GET /graphql/{pathQueryId}/BirdwatchFetchPublicData\n- \"List all BlueVerifiedFollowers?\" -> GET /graphql/{pathQueryId}/BlueVerifiedFollowers\n- \"List all BookmarkSearchTimeline?\" -> GET /graphql/{pathQueryId}/BookmarkSearchTimeline\n- \"List all Bookmarks?\" -> GET /graphql/{pathQueryId}/Bookmarks\n- \"List all BroadcastQuery?\" -> GET /graphql/{pathQueryId}/BroadcastQuery\n- \"List all CombinedLists?\" -> GET /graphql/{pathQueryId}/CombinedLists\n- \"List all CommunitiesFetchOneQuery?\" -> GET /graphql/{pathQueryId}/CommunitiesFetchOneQuery\n- \"List all CommunitiesSearchQuery?\" -> GET /graphql/{pathQueryId}/CommunitiesSearchQuery\n- \"List all CommunityAboutTimeline?\" -> GET /graphql/{pathQueryId}/CommunityAboutTimeline\n- \"List all CommunityDiscoveryTimeline?\" -> GET /graphql/{pathQueryId}/CommunityDiscoveryTimeline\n- \"List all CommunityMediaTimeline?\" -> GET /graphql/{pathQueryId}/CommunityMediaTimeline\n- \"List all CommunityQuery?\" -> GET /graphql/{pathQueryId}/CommunityQuery\n- \"List all CommunityTweetsTimeline?\" -> GET /graphql/{pathQueryId}/CommunityTweetsTimeline\n- \"List all ConnectTabTimeline?\" -> GET /graphql/{pathQueryId}/ConnectTabTimeline\n- \"Create a CreateBookmark?\" -> POST /graphql/{pathQueryId}/CreateBookmark\n- \"Create a CreateDraftTweet?\" -> POST /graphql/{pathQueryId}/CreateDraftTweet\n- \"Create a CreateList?\" -> POST /graphql/{pathQueryId}/CreateList\n- \"Create a CreateRetweet?\" -> POST /graphql/{pathQueryId}/CreateRetweet\n- \"Create a CreateTweet?\" -> POST /graphql/{pathQueryId}/CreateTweet\n- \"List all CreatorStudioTabBarItemQuery?\" -> GET /graphql/{pathQueryId}/CreatorStudioTabBarItemQuery\n- \"List all DataSaverMode?\" -> GET /graphql/{pathQueryId}/DataSaverMode\n- \"Create a DeleteBookmark?\" -> POST /graphql/{pathQueryId}/DeleteBookmark\n- \"Create a DeleteDraftTweet?\" -> POST /graphql/{pathQueryId}/DeleteDraftTweets\n- \"Create a DeleteList?\" -> POST /graphql/{pathQueryId}/DeleteList\n- \"Create a DeleteRetweet?\" -> POST /graphql/{pathQueryId}/DeleteRetweet\n- \"Create a DeleteTweet?\" -> POST /graphql/{pathQueryId}/DeleteTweet\n- \"List all ExplorePage?\" -> GET /graphql/{pathQueryId}/ExplorePage\n- \"List all ExploreSidebar?\" -> GET /graphql/{pathQueryId}/ExploreSidebar\n- \"Create a FavoriteTweet?\" -> POST /graphql/{pathQueryId}/FavoriteTweet\n- \"List all Favoriters?\" -> GET /graphql/{pathQueryId}/Favoriters\n- \"List all FetchDraftTweets?\" -> GET /graphql/{pathQueryId}/FetchDraftTweets\n- \"List all FetchScheduledTweets?\" -> GET /graphql/{pathQueryId}/FetchScheduledTweets\n- \"List all Followers?\" -> GET /graphql/{pathQueryId}/Followers\n- \"List all FollowersYouKnow?\" -> GET /graphql/{pathQueryId}/FollowersYouKnow\n- \"List all Following?\" -> GET /graphql/{pathQueryId}/Following\n- \"List all GenericTimelineById?\" -> GET /graphql/{pathQueryId}/GenericTimelineById\n- \"List all GlobalCommunitiesLatestPostSearchTimeline?\" -> GET /graphql/{pathQueryId}/GlobalCommunitiesLatestPostSearchTimeline\n- \"List all GlobalCommunitiesPostSearchTimeline?\" -> GET /graphql/{pathQueryId}/GlobalCommunitiesPostSearchTimeline\n- \"List all GrokHome?\" -> GET /graphql/{pathQueryId}/GrokHome\n- \"List all HomeLatestTimeline?\" -> GET /graphql/{pathQueryId}/HomeLatestTimeline\n- \"List all HomeTimeline?\" -> GET /graphql/{pathQueryId}/HomeTimeline\n- \"List all Likes?\" -> GET /graphql/{pathQueryId}/Likes\n- \"Create a ListAddMember?\" -> POST /graphql/{pathQueryId}/ListAddMember\n- \"List all ListByRestId?\" -> GET /graphql/{pathQueryId}/ListByRestId\n- \"List all ListCreationRecommendedUsers?\" -> GET /graphql/{pathQueryId}/ListCreationRecommendedUsers\n- \"List all ListEditRecommendedUsers?\" -> GET /graphql/{pathQueryId}/ListEditRecommendedUsers\n- \"List all ListLatestTweetsTimeline?\" -> GET /graphql/{pathQueryId}/ListLatestTweetsTimeline\n- \"List all ListMembers?\" -> GET /graphql/{pathQueryId}/ListMembers\n- \"List all ListOwnerships?\" -> GET /graphql/{pathQueryId}/ListOwnerships\n- \"Create a ListRemoveMember?\" -> POST /graphql/{pathQueryId}/ListRemoveMember\n- \"List all ListSearchTimeline?\" -> GET /graphql/{pathQueryId}/ListSearchTimeline\n- \"List all ListSubscribers?\" -> GET /graphql/{pathQueryId}/ListSubscribers\n- \"List all ListsManagementPageTimeline?\" -> GET /graphql/{pathQueryId}/ListsManagementPageTimeline\n- \"List all NotificationsTimeline?\" -> GET /graphql/{pathQueryId}/NotificationsTimeline\n- \"List all PinnedTimelines?\" -> GET /graphql/{pathQueryId}/PinnedTimelines\n- \"List all ProfileSpotlightsQuery?\" -> GET /graphql/{pathQueryId}/ProfileSpotlightsQuery\n- \"List all Retweeters?\" -> GET /graphql/{pathQueryId}/Retweeters\n- \"List all SearchTimeline?\" -> GET /graphql/{pathQueryId}/SearchTimeline\n- \"List all SidebarUserRecommendations?\" -> GET /graphql/{pathQueryId}/SidebarUserRecommendations\n- \"List all TopicCarouselQuery?\" -> GET /graphql/{pathQueryId}/TopicCarouselQuery\n- \"List all TweetDetail?\" -> GET /graphql/{pathQueryId}/TweetDetail\n- \"List all TweetResultByRestId?\" -> GET /graphql/{pathQueryId}/TweetResultByRestId\n- \"Create a UnfavoriteTweet?\" -> POST /graphql/{pathQueryId}/UnfavoriteTweet\n- \"List all UserByRestId?\" -> GET /graphql/{pathQueryId}/UserByRestId\n- \"List all UserByScreenName?\" -> GET /graphql/{pathQueryId}/UserByScreenName\n- \"List all UserHighlightsTweets?\" -> GET /graphql/{pathQueryId}/UserHighlightsTweets\n- \"List all UserMedia?\" -> GET /graphql/{pathQueryId}/UserMedia\n- \"List all UserOriginalsTimeline?\" -> GET /graphql/{pathQueryId}/UserOriginalsTimeline\n- \"List all UserRepliesTimeline?\" -> GET /graphql/{pathQueryId}/UserRepliesTimeline\n- \"List all UserRepostsTimeline?\" -> GET /graphql/{pathQueryId}/UserRepostsTimeline\n- \"List all UserSuperFollowTweets?\" -> GET /graphql/{pathQueryId}/UserSuperFollowTweets\n- \"List all UserTweets?\" -> GET /graphql/{pathQueryId}/UserTweets\n- \"List all UserTweetsAndReplies?\" -> GET /graphql/{pathQueryId}/UserTweetsAndReplies\n- \"List all UserVideoTimeline?\" -> GET /graphql/{pathQueryId}/UserVideoTimeline\n- \"List all UsersByRestIds?\" -> GET /graphql/{pathQueryId}/UsersByRestIds\n- \"List all UsersVerifiedAvatars?\" -> GET /graphql/{pathQueryId}/UsersVerifiedAvatars\n- \"List all ViewerBadgeCounts?\" -> GET /graphql/{pathQueryId}/ViewerBadgeCounts\n- \"List all grokAccountJwtQuery?\" -> GET /graphql/{pathQueryId}/grokAccountJwtQuery\n- \"List all useStoryTopicQuery?\" -> GET /graphql/{pathQueryId}/useStoryTopicQuery\n- \"List all other?\" -> GET /other\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Paginated endpoints accept limit/offset or cursor parameters\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Twitter OpenAPI\n@base https://x.com/i/api\n@version 0.0.1\n@auth ApiKey Accept in header | ApiKey Accept-Encoding in header | ApiKey Accept-Language in header | ApiKey x-twitter-active-user in header | ApiKey x-twitter-auth-type in header | Bearer bearer | ApiKey x-twitter-client-language in header | ApiKey x-client-transaction-id in header | ApiKey x-client-uuid in header | ApiKey auth_token in cookie | ApiKey ct0 in cookie | ApiKey gt0 in cookie | ApiKey x-csrf-token in header | ApiKey x-guest-token in header | ApiKey Priority in header | ApiKey Referer in header | ApiKey Sec-Ch-Ua in header | ApiKey Sec-Ch-Ua-Mobile in header | ApiKey Sec-Ch-Ua-Platform in header | ApiKey Sec-Fetch-Dest in header | ApiKey Sec-Fetch-Mode in header | ApiKey Sec-Fetch-Site in header | ApiKey user-agent in header\n@endpoints 93\n@hint download_for_search\n@toc 1.1(4), 2(2), graphql(86), other(1)\n\n@group 1.1\n@endpoint GET /1.1/friends/following/list.json\n@desc get friends following list\n@required {include_profile_interstitial_type: int=1, include_blocking: int=1, include_blocked_by: int=1, include_followed_by: int=1, include_want_retweets: int=1, include_mute_edge: int=1, include_can_dm: int=1, include_can_media_tag: int=1, include_ext_has_nft_avatar: int=1, include_ext_is_blue_verified: int=1, include_ext_verified_type: int=1, include_ext_profile_image_shape: int=1, skip_status: int=1, cursor: int=-1, user_id: str=44196397, count: int=3, with_total_count: bool=true}\n@returns(200) Successful operation\n\n@endpoint POST /1.1/friendships/create.json\n@desc post create friendships\n@returns(200) Successful operation\n\n@endpoint POST /1.1/friendships/destroy.json\n@desc post destroy friendships\n@returns(200) Successful operation\n\n@endpoint GET /1.1/search/typeahead.json\n@desc get search typeahead\n@required {include_ext_is_blue_verified: int=1, include_ext_verified_type: int=1, include_ext_profile_image_shape: int=1, q: str=test, src: str=search_box, result_type: str=events,users,topics}\n@returns(200) Successful operation\n\n@endgroup\n\n@group 2\n@endpoint GET /2/search/adaptive.json\n@desc get search adaptive\n@required {include_profile_interstitial_type: int=1, include_blocking: int=1, include_blocked_by: int=1, include_followed_by: int=1, include_want_retweets: int=1, include_mute_edge: int=1, include_can_dm: int=1, include_can_media_tag: int=1, include_ext_has_nft_avatar: int=1, include_ext_is_blue_verified: int=1, include_ext_verified_type: int=1, include_ext_profile_image_shape: int=1, skip_status: int=1, cards_platform: str=Web-12, include_cards: int=1, include_ext_alt_text: bool=true, include_ext_limited_action_results: bool=false, include_quote_count: bool=true, include_reply_count: int=1, tweet_mode: str=extended, include_ext_views: bool=true, include_entities: bool=true, include_user_entities: bool=true, include_ext_media_color: bool=true, include_ext_media_availability: bool=true, include_ext_sensitive_media_warning: bool=true, include_ext_trusted_friends_metadata: bool=true, send_error_codes: bool=true, simple_quoted_tweet: bool=true, q: str=elon musk, query_source: str=trend_click, count: int=20, requestContext: str=launch, pc: int=1, spelling_corrections: int=1, include_ext_edit_control: bool=true, ext: str=mediaStats,highlightedLabel,hasNftAvatar,voiceInfo,birdwatchPivot,enrichments,superFollowMetadata,unmentionInfo,editControl,vibe}\n@returns(200) Successful operation\n\n@endpoint POST /2/timeline/feedback.json\n@desc post timeline feedback\n@required {feedback_type: str, action_metadata: str}\n@returns(200) Successful operation\n\n@endgroup\n\n@group graphql\n@endpoint GET /graphql/{pathQueryId}/AboutAccountQuery\n@desc About this account: join date, where the account is based, username changes, verification\n@required {pathQueryId: str=XRqGa7EeokUU5kppkh13EA, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/AudioSpaceById\n@desc a Space by id: metadata, participants and the announcing post\n@required {pathQueryId: str=zm3JmUpYWDXIUsf_33-ZrA, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/AuthenticatePeriscope\n@desc a Periscope (live video) token for the account\n@required {pathQueryId: str=r7VUmxbfqNkx7uwjgONSNw, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/BirdwatchFetchAliasSelfSelectStatus\n@desc whether the account can pick / has picked a Community Notes alias\n@required {pathQueryId: str=LUEdtkcpBlGktUtms4BvwA, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/BirdwatchFetchAuthenticatedUserProfile\n@desc the account's Community Notes profile\n@required {pathQueryId: str=kD74-qBfrdRT5rO9YOl57g, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/BirdwatchFetchBirdwatchProfile\n@desc a Community Notes profile by alias\n@required {pathQueryId: str=id9iGfEQF47W1kvRBHUmRQ, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/BirdwatchFetchGlobalTimeline\n@desc the Community Notes home page (segmented timelines)\n@required {pathQueryId: str=i8I7E-QFR0dnhrYk8SRgXA, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/BirdwatchFetchPublicData\n@desc download urls of the latest Community Notes public data files\n@required {pathQueryId: str=T4Qdev0aBeS9tK9v4TkgQg, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/BlueVerifiedFollowers\n@desc get blue verified followers\n@required {pathQueryId: str=yeHz6Pbno-kijajOobPLNg, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/BookmarkSearchTimeline\n@desc search the account's bookmarks\n@required {pathQueryId: str=3sreNJCdPWiqkUE9eoE92g, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/Bookmarks\n@desc get bookmarks\n@required {pathQueryId: str=jbqsfdzI0EMFHAtpEC6vyA, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/BroadcastQuery\n@desc a live video broadcast by id\n@required {pathQueryId: str=zov7jwKdTlWkL1pfblnigA, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/CombinedLists\n@desc lists a user owns or follows\n@required {pathQueryId: str=EZ8YjsOa_EBMOMv815eqZw, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/CommunitiesFetchOneQuery\n@desc a community by id (community page)\n@required {pathQueryId: str=WP5rIK_ORn3JzCDlDzC1Cg, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/CommunitiesSearchQuery\n@desc search communities. cursor:[slice_info.next_cursor]\n@required {pathQueryId: str=HKgnJbw10TZW41Na4ToaSw, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/CommunityAboutTimeline\n@desc get about of community\n@required {pathQueryId: str=DCvD6yLzBhMnu0k4GXyc9g, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/CommunityDiscoveryTimeline\n@desc get the communities discovery timeline\n@required {pathQueryId: str=aFpvv7GZ1Z0fVIPLjzeWHg, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/CommunityMediaTimeline\n@desc get media list of community\n@required {pathQueryId: str=J40ERczeKx9pcsGDOy4RUw, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/CommunityQuery\n@desc a community by id (community settings and moderation pages)\n@required {pathQueryId: str=-ElI1vg3dYbttVMhBhGdLw, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/CommunityTweetsTimeline\n@desc get tweet list of community. rankingMode:[Recency, Relevance]\n@required {pathQueryId: str=jegGVG9ZRxfsKgRH8TGCKw, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ConnectTabTimeline\n@desc get the Connect tab (who to follow) timeline\n@required {pathQueryId: str=l8W_aoK20ZnDerU_sxx7tA, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/CreateBookmark\n@desc create Bookmark\n@required {pathQueryId: str=aoDbu3RHznuiSkQ9aNM67Q, queryId: str=aoDbu3RHznuiSkQ9aNM67Q, variables: map{tweet_id!: str}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/CreateDraftTweet\n@desc save a draft\n@required {pathQueryId: str=cH9HZWz_EW9gnswvA4ZRiQ, queryId: str=cH9HZWz_EW9gnswvA4ZRiQ, variables: map{post_tweet_request!: map}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/CreateList\n@desc create list\n@required {pathQueryId: str=zdGzorOEOslDL4XEbe2INw, features: map{profile_label_improvements_pcf_label_in_post_enabled!: bool, responsive_web_graphql_timeline_navigation_enabled!: bool, responsive_web_profile_redirect_enabled!: bool, rweb_tipjar_consumption_enabled!: bool, verified_phone_label_enabled!: bool}, queryId: str=zdGzorOEOslDL4XEbe2INw, variables: map{description!: str, isPrivate!: bool, name!: str}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/CreateRetweet\n@desc create Retweet\n@required {pathQueryId: str=mbRO74GrOvSfRcJnlMapnQ, queryId: str=mbRO74GrOvSfRcJnlMapnQ, variables: map{dark_request!: bool, tweet_id!: str}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/CreateTweet\n@desc create Tweet\n@required {pathQueryId: str=wR5Z_lEibLvkew3tF9w-Sg, features: map{articles_preview_enabled!: bool, c9s_tweet_anatomy_moderator_badge_enabled!: bool, communities_web_enable_tweet_community_results_fetch!: bool, content_disclosure_ai_generated_indicator_enabled!: bool, content_disclosure_indicator_enabled!: bool, freedom_of_speech_not_reach_fetch_enabled!: bool, graphql_is_translatable_rweb_tweet_is_translatable_enabled!: bool, longform_notetweets_consumption_enabled!: bool, longform_notetweets_inline_media_enabled!: bool, longform_notetweets_rich_text_read_enabled!: bool, post_ctas_fetch_enabled!: bool, premium_content_api_read_enabled!: bool, profile_label_improvements_pcf_label_in_post_enabled!: bool, responsive_web_edit_tweet_api_enabled!: bool, responsive_web_graphql_timeline_navigation_enabled!: bool, responsive_web_grok_analysis_button_from_backend!: bool, responsive_web_grok_analyze_button_fetch_trends_enabled!: bool, responsive_web_grok_analyze_post_followups_enabled!: bool, responsive_web_grok_annotations_enabled!: bool, responsive_web_grok_community_note_auto_translation_is_enabled!: bool, responsive_web_grok_image_annotation_enabled!: bool, responsive_web_grok_imagine_annotation_enabled!: bool, responsive_web_grok_share_attachment_enabled!: bool, responsive_web_grok_show_grok_translated_post!: bool, responsive_web_jetfuel_frame!: bool, responsive_web_nested_quote_preview_enabled!: bool, responsive_web_profile_redirect_enabled!: bool, responsive_web_twitter_article_tweet_consumption_enabled!: bool, rweb_cashtags_composer_attachment_enabled!: bool, rweb_cashtags_enabled!: bool, rweb_conversational_replies_downvote_enabled!: bool, rweb_sports_post_context_enabled!: bool, rweb_tipjar_consumption_enabled!: bool, standardized_nudges_misinfo!: bool, tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled!: bool, verified_phone_label_enabled!: bool, view_counts_everywhere_api_enabled!: bool}, queryId: str=wR5Z_lEibLvkew3tF9w-Sg, variables: map{attachment_url: str, conversation_control: map, dark_request!: bool, disallowed_reply_options: map, media!: map, reply: map, semantic_annotation_ids!: [map], tweet_text!: str}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/CreatorStudioTabBarItemQuery\n@desc audience rewards tasks shown in Creator Studio\n@required {pathQueryId: str=1KZj_GRTxmPaSrk8jIb1Yw, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/DataSaverMode\n@desc data saver setting of the account\n@required {pathQueryId: str=xF6sXnKJfS2AOylzxRjf6A, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/DeleteBookmark\n@desc delete Bookmark\n@required {pathQueryId: str=Wlmlj2-xzyS1GN3a6cj-mQ, queryId: str=Wlmlj2-xzyS1GN3a6cj-mQ, variables: map{tweet_id!: str}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/DeleteDraftTweets\n@desc delete drafts\n@required {pathQueryId: str=h0rzaIYc9-v3zTQvx1J8OA, queryId: str=h0rzaIYc9-v3zTQvx1J8OA, variables: map{draft_tweet_ids!: [str]}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/DeleteList\n@desc delete list\n@required {pathQueryId: str=UnN9Th1BDbeLjpgjGSpL3Q, queryId: str=UnN9Th1BDbeLjpgjGSpL3Q, variables: map{listId!: str}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/DeleteRetweet\n@desc delete Retweet\n@required {pathQueryId: str=ZyZigVsNiFO6v1dEks1eWg, queryId: str=ZyZigVsNiFO6v1dEks1eWg, variables: map{dark_request!: bool, source_tweet_id!: str}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/DeleteTweet\n@desc delete Retweet\n@required {pathQueryId: str=nxpZCY2K-I6QoFHAHeojFQ, queryId: str=nxpZCY2K-I6QoFHAHeojFQ, variables: map{dark_request!: bool, tweet_id!: str}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ExplorePage\n@desc get the explore page (segmented timelines)\n@required {pathQueryId: str=48W-AbOlM55_eQT_rzUECA, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ExploreSidebar\n@desc the explore sidebar (trends)\n@required {pathQueryId: str=GVGJ2AHQjQLkIPlIZ9LiSw, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/FavoriteTweet\n@desc favorite Tweet\n@required {pathQueryId: str=lI07N6Otwv1PhnEgXILM7A, queryId: str=lI07N6Otwv1PhnEgXILM7A, variables: map{tweet_id!: str}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/Favoriters\n@desc get tweet favoriters\n@required {pathQueryId: str=q9xVNj4CiI9oHN3cUmFrgA, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/FetchDraftTweets\n@desc get drafts (unsent posts)\n@required {pathQueryId: str=L9RqKWmAWxK6vGtR3Qdsxw, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/FetchScheduledTweets\n@desc get scheduled posts\n@required {pathQueryId: str=H2elmT2R9DLhWoo0DZFNkA, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/Followers\n@desc get user list of followers\n@required {pathQueryId: str=QgDRdL1wGs4vS0mZ0qKHkA, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/FollowersYouKnow\n@desc get followers you know\n@required {pathQueryId: str=84Pvhd0CoG9mTIHy5DxrdA, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/Following\n@desc get user list of following\n@required {pathQueryId: str=QPaR5ONQTW_KyiEXQCHP4g, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/GenericTimelineById\n@desc get a generic timeline by its id (explore tabs)\n@required {pathQueryId: str=jGftuM3PU3SFT3MUzwLopw, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/GlobalCommunitiesLatestPostSearchTimeline\n@desc search posts across communities (Latest)\n@required {pathQueryId: str=rOLZrEBkGfx9WIb0-cx4GA, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/GlobalCommunitiesPostSearchTimeline\n@desc search posts across communities (Top)\n@required {pathQueryId: str=VTpTM1R7_HJKUMFcZkoedQ, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/GrokHome\n@desc Grok home: model options, prompts and eligibility\n@required {pathQueryId: str=QAPGIKJVaPXYD-gO9kxc9w, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/HomeLatestTimeline\n@desc get tweet list of timeline\n@required {pathQueryId: str=GjleyyGw4xvWe5tn8EQt9w, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/HomeTimeline\n@desc get tweet list of timeline\n@required {pathQueryId: str=fedFLLzmiCAuzPgA8lyh8Q, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/Likes\n@desc get user likes tweets\n@required {pathQueryId: str=a6ZbplAY_XzbVt5jy_Ko_Q, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/ListAddMember\n@desc add a member to a list\n@required {pathQueryId: str=-Kf1YVC1rNKkPvPFk7YXZw, features: map{profile_label_improvements_pcf_label_in_post_enabled!: bool, responsive_web_graphql_timeline_navigation_enabled!: bool, responsive_web_profile_redirect_enabled!: bool, rweb_tipjar_consumption_enabled!: bool, verified_phone_label_enabled!: bool}, queryId: str=-Kf1YVC1rNKkPvPFk7YXZw, variables: map{listId!: str, userId!: str}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ListByRestId\n@desc get list\n@required {pathQueryId: str=T-YE5ZY0cd0UVtWu8AP04Q, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ListCreationRecommendedUsers\n@desc get recommended members while creating a list\n@required {pathQueryId: str=NCdb-TPGFi_6Tpvs3WmAFg, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ListEditRecommendedUsers\n@desc get recommended members while editing a list\n@required {pathQueryId: str=8VcpjisNYiVaGOemxfDJ3A, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ListLatestTweetsTimeline\n@desc get tweet list of timeline\n@required {pathQueryId: str=dCYL1r8KgXjvgV6t1vtSZA, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ListMembers\n@desc get list members\n@required {pathQueryId: str=_RDpx--fQKSccuRlGpEIoA, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ListOwnerships\n@desc get the lists a user owns (add/remove from Lists dialog)\n@required {pathQueryId: str=f1u5dCI80zd4-YFYSkVCVQ, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/ListRemoveMember\n@desc remove a member from a list\n@required {pathQueryId: str=_2o1-wSMWGFSi5HUscn1Hw, features: map{profile_label_improvements_pcf_label_in_post_enabled!: bool, responsive_web_graphql_timeline_navigation_enabled!: bool, responsive_web_profile_redirect_enabled!: bool, rweb_tipjar_consumption_enabled!: bool, verified_phone_label_enabled!: bool}, queryId: str=_2o1-wSMWGFSi5HUscn1Hw, variables: map{listId!: str, userId!: str}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ListSearchTimeline\n@desc search lists\n@required {pathQueryId: str=AUuFRTs_uR18jkZRequlMA, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ListSubscribers\n@desc get list subscribers (followers)\n@required {pathQueryId: str=QmqW0VFRmLPfBtViuvVtBA, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ListsManagementPageTimeline\n@desc the account's lists management page\n@required {pathQueryId: str=HWkp6lUaAkEJ-Y_Q57korw, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/NotificationsTimeline\n@desc get notification list. timeline_type:[All, Verified, Mentions]\n@required {pathQueryId: str=YX7xisHsNjDlFHW-MVXINQ, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/PinnedTimelines\n@desc the account's pinned timelines\n@required {pathQueryId: str=8J1r9u3VjUveEdTY4WUTwQ, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ProfileSpotlightsQuery\n@desc get user by screen name\n@required {pathQueryId: str=mzoqrVGwk-YTSGME1dRfXQ, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/Retweeters\n@desc get tweet retweeters\n@required {pathQueryId: str=ZB1yNma3uVFb0gtV9kEWiA, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/SearchTimeline\n@desc search tweet list. product:[Top, Latest, People, Photos, Videos]\n@required {pathQueryId: str=3fEctOs2-FvTB7_mvm1hrQ, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/SidebarUserRecommendations\n@desc who to follow, shown in the sidebar of a profile\n@required {pathQueryId: str=BSYrSirC_dVN6R9Q0Mpmvg, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/TopicCarouselQuery\n@desc community topics and subtopics\n@required {pathQueryId: str=byVjaS0CUtBqAao_lhZFgA, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/TweetDetail\n@desc get TweetDetail\n@required {pathQueryId: str=qpemjmVMoTWDvcRT43JIVQ, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/TweetResultByRestId\n@desc get TweetResultByRestId\n@required {pathQueryId: str=U8lc5aomF5krJzZ9vJ9wxg, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint POST /graphql/{pathQueryId}/UnfavoriteTweet\n@desc unfavorite Tweet\n@required {pathQueryId: str=ZYKSe-w7KEslx3JhSIk5LA, queryId: str=ZYKSe-w7KEslx3JhSIk5LA, variables: map{dark_request!: bool, tweet_id!: str}}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UserByRestId\n@desc get user by rest id. Deprecated: X answers 403 outside a browser since 2026-10\n@required {pathQueryId: str=mxaYWwt52eAb6OAzYHMVzg, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UserByScreenName\n@desc get user by screen name\n@required {pathQueryId: str=AMIBMjtxEEATh4z8V9GtRg, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UserHighlightsTweets\n@desc get user highlights tweets\n@required {pathQueryId: str=clDqp0dS11B6eNOEF6oYhQ, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UserMedia\n@desc get user media tweets\n@required {pathQueryId: str=QWOimofaocjeRda7Tm5pNA, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UserOriginalsTimeline\n@desc get user tweets (profile posts tab)\n@required {pathQueryId: str=0L_XictlTdXhxJyxhMDxQA, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UserRepliesTimeline\n@desc get user tweets and replies (profile replies tab)\n@required {pathQueryId: str=e2U1WlALwVhjkDBJnkcLnA, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UserRepostsTimeline\n@desc get user reposts (profile reposts tab)\n@required {pathQueryId: str=q5tCz6UCo5FOK8DSqsjS2A, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UserSuperFollowTweets\n@desc get user super follow tweets (subscriptions tab)\n@required {pathQueryId: str=lsccw_JwPlNPMP26U3y-0g, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UserTweets\n@desc get user tweets\n@required {pathQueryId: str=7_KBXBpG0zBPRN6UCIV0-w, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UserTweetsAndReplies\n@desc get user replies tweets\n@required {pathQueryId: str=bnsYxFljT6y98rFwiGr3fw, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UserVideoTimeline\n@desc get user media (profile media tab)\n@required {pathQueryId: str=pPxk1XFyAcJJ28hNFCLjTA, variables: any, features: any, fieldToggles: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UsersByRestIds\n@desc get users by rest ids. Deprecated: X answers 403 outside a browser since 2026-10\n@required {pathQueryId: str=ubfbnAM4qTlMTOYleYhXSg, variables: any, features: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/UsersVerifiedAvatars\n@desc verified-avatar users by ids\n@required {pathQueryId: str=O9O_O1iF0QffoOBjB2OGIQ, features: any, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/ViewerBadgeCounts\n@desc get the unread badge counts of the viewer\n@required {pathQueryId: str=q4Npr1-FYRWyXsRzPckwEA, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/grokAccountJwtQuery\n@desc whether the account is linked to a Grok account\n@required {pathQueryId: str=DIW0leeI6-dvMzdOMJki4w, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endpoint GET /graphql/{pathQueryId}/useStoryTopicQuery\n@desc AI-written stories of an explore topic (rest_id: For You)\n@required {pathQueryId: str=I3V_Tt32aTZdw7cBdKUJbg, variables: any}\n@returns(200) {data: any, errors: [map]} # Successful operation\n\n@endgroup\n\n@group other\n@endpoint GET /other\n@desc This is not an actual endpoint\n@returns(200) {Session: map{SsoInitTokens: map, communitiesActions: map{create: bool}, country: str, guestId: str, hasCommunityMemberships: bool, isActiveCreator: bool, isRestrictedSession: bool, isSuperFollowSubscriber: bool, language: str, oneFactorLoginEligibility: map{fetchStatus: str}, superFollowersCount: int, superFollowsApplicationStatus: str, userFeatures: map{mediatool_studio_library: bool}, user_id: str}} # Successful operation\n\n@endgroup\n\n@end\n"}}