Qodex.ai
Qodex.ai
Introduction
Twitter API v2
Tweet Lookup
Single Tweet UsercontextMultiple Tweets
User Lookup
User by IDUsers by IDUser by UsernameUsers by UsernameAuthenticated User Lookup
Follows
Followers of user IDUsers a user ID is followingFollow a user IDUnfollow a user ID
Blocks
Block a user IDBlocks lookupUnblock a user ID
List-List lookup
List by IDUser owned Lists
List-Manage Lists
Create a listDelete a listUpdate a list
List-List Tweets
List Tweets lookup
List-List members
Add a memberRemove a memberMembers lookupUser memberships
List-List follows
Follow a listUnfollow a listFollower lookupUser's followed Lists
List-Pinned Lists
Pin a listUnpin a listUser's pinned Lists
Manage Tweets
Create a TweetDelete a Tweet
Mutes
Mute a user IDUnmute a user IDMutes lookup
Timelines
User Tweet timeline by IDUser mention timeline by ID
Hide Replies
Unhide a reply
Search Tweets
Recent searchFull-archive search
Tweet Counts
Recent Tweet countsFull-archive Tweet counts
Filtered Stream
Delete Rules (by rule value)Retrieve RulesStream (see description)
Sampled Stream
Stream (see description)
Spaces-Spaces lookup
Spaces lookup by single IDSpaces lookup by list of IDsLookup Spaces created by one or more usersUsers who bought a ticket to a Space
Spaces-Search Spaces
Search Spaces by title
Batch Compliance
Create a batch compliance jobGet all batch compliance jobsGet a compliance job by ID
Likes
Like a TweetLiked TweetsLiking usersUnlike a Tweet
Retweets
Retweet a TweetRetweeted byUndo a Retweet
Introduction
Twitter API v2
Tweet Lookup
Single Tweet UsercontextMultiple Tweets
User Lookup
User by IDUsers by IDUser by UsernameUsers by UsernameAuthenticated User Lookup
Follows
Followers of user IDUsers a user ID is followingFollow a user IDUnfollow a user ID
Blocks
Block a user IDBlocks lookupUnblock a user ID
List-List lookup
List by IDUser owned Lists
List-Manage Lists
Create a listDelete a listUpdate a list
List-List Tweets
List Tweets lookup
List-List members
Add a memberRemove a memberMembers lookupUser memberships
List-List follows
Follow a listUnfollow a listFollower lookupUser's followed Lists
List-Pinned Lists
Pin a listUnpin a listUser's pinned Lists
Manage Tweets
Create a TweetDelete a Tweet
Mutes
Mute a user IDUnmute a user IDMutes lookup
Timelines
User Tweet timeline by IDUser mention timeline by ID
Hide Replies
Unhide a reply
Search Tweets
Recent searchFull-archive search
Tweet Counts
Recent Tweet countsFull-archive Tweet counts
Filtered Stream
Delete Rules (by rule value)Retrieve RulesStream (see description)
Sampled Stream
Stream (see description)
Spaces-Spaces lookup
Spaces lookup by single IDSpaces lookup by list of IDsLookup Spaces created by one or more usersUsers who bought a ticket to a Space
Spaces-Search Spaces
Search Spaces by title
Batch Compliance
Create a batch compliance jobGet all batch compliance jobsGet a compliance job by ID
Likes
Like a TweetLiked TweetsLiking usersUnlike a Tweet
Retweets
Retweet a TweetRetweeted byUndo a Retweet
HomeTwitter API v2Follows

Follows

Number of APIs: 4

  1. Users a user ID is following GET https://api.twitter.com/2/users/:id/following

  2. Followers of user ID GET https://api.twitter.com/2/users/:id/followers

  3. Follow a user ID POST https://api.twitter.com/2/users/:id/following

  4. Unfollow a user ID DELETE https://api.twitter.com/2/users/:source_user_id/following/:target_user_id

Previous
Authenticated User Lookup
Next
Followers of user ID