Skip to main content
Every twitterapiio.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Api

webhooks.addRule

api.webhooks.addRule Create a new tweet filter rule for the webhook stream (inactive by default — call updateRule to activate) Risk: write
Input Output

webhooks.deleteRule

api.webhooks.deleteRule Permanently delete a tweet filter rule Risk: destructive · Irreversible
Input Output

webhooks.getRules

api.webhooks.getRules List all existing tweet filter rules Risk: read
Input: empty object Output

webhooks.updateRule

api.webhooks.updateRule Update a tweet filter rule, including activating or deactivating it Risk: write
Input Output

Communities

create

communities.create Create a new Twitter community Risk: write
Input Output

delete

communities.delete Delete a Twitter community Risk: destructive · Irreversible
Input Output

getById

communities.getById Get community info by ID Risk: read
Input Output

getMembers

communities.getMembers Get members of a community Risk: read
Input Output

getModerators

communities.getModerators Get moderators of a community Risk: read
Input Output

getTweets

communities.getTweets Get tweets posted in a community Risk: read
Input Output

join

communities.join Join a Twitter community Risk: write
Input Output

leave

communities.leave Leave a Twitter community Risk: write
Input Output

searchTweets

communities.searchTweets Search tweets across all communities Risk: read
Input Output

Lists

getFollowers

lists.getFollowers Get followers of a Twitter list Risk: read
Input Output

getMembers

lists.getMembers Get members of a Twitter list Risk: read
Input Output

getTweets

lists.getTweets Get tweets from a Twitter list timeline Risk: read
Input Output

Replies

get

replies.get Get replies to a tweet, paginated by time range — stored independently in the replies table so engagement changes are tracked per reply Risk: read
Input Output

getV2

replies.getV2 Get replies to a tweet (v2) with sort order control (Relevance, Latest, Likes) — stored independently in the replies table so engagement changes are tracked per reply Risk: read
Input Output

Stream

addUser

stream.addUser Add a Twitter user to the real-time tweet monitor stream Risk: write
Input Output

listUsers

stream.listUsers List all Twitter users currently in the monitor stream Risk: read
Input: empty object Output

removeUser

stream.removeUser Remove a Twitter user from the real-time tweet monitor stream Risk: write
Input Output

get

trends.get Get trending topics by location (woeid) Risk: read
Input Output

Tweets

advancedSearch

tweets.advancedSearch Search tweets using structured operators (keywords, users, dates, engagement thresholds, media filters, etc.) Risk: read
Input Output

create

tweets.create Post a new tweet or reply Risk: write
Input Output

delete

tweets.delete Delete a tweet Risk: destructive · Irreversible
Input Output

getByIds

tweets.getByIds Fetch tweets by their IDs Risk: read
Input Output

getQuotations

tweets.getQuotations Get quote tweets for a tweet Risk: read
Input Output

getRetweeters

tweets.getRetweeters Get users who retweeted a tweet Risk: read
Input Output

getThreadContext

tweets.getThreadContext Get the full thread context for a tweet Risk: read
Input Output

getUserLastTweets

tweets.getUserLastTweets Retrieve a user’s most recent tweets by username Risk: read
Input Output

getUserMentions

tweets.getUserMentions Get tweets that mention a user Risk: read
Input Output

getUserTimeline

tweets.getUserTimeline Retrieve a user’s tweet timeline by user ID Risk: read
Input Output

like

tweets.like Like a tweet Risk: write
Input Output

retweet

tweets.retweet Retweet a tweet Risk: write
Input Output
tweets.search Search tweets with a raw query string Risk: read
Input Output

unlike

tweets.unlike Remove a like from a tweet Risk: write
Input Output

Users

batchGetByIds

users.batchGetByIds Batch fetch user profiles by user IDs Risk: read
Input Output

checkFollowRelationship

users.checkFollowRelationship Check if two users follow each other Risk: read
Input Output

follow

users.follow Follow a user Risk: write
Input Output

getByUsername

users.getByUsername Get user profile by username Risk: read
Input Output

getFollowers

users.getFollowers Get a user’s followers Risk: read
Input Output

getFollowings

users.getFollowings Get users that a user is following Risk: read
Input Output

getMe

users.getMe Get the authenticated account info Risk: read
Input Output

getVerifiedFollowers

users.getVerifiedFollowers Get a user’s verified (blue-check) followers Risk: read
Input Output

login

users.login Authenticate a Twitter account via credentials and obtain a login cookie for v2 endpoints Risk: write
Input Output

search

users.search Search users by keyword Risk: read
Input Output

unfollow

users.unfollow Unfollow a user Risk: write
Input Output