xquik.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.
Media
download
media.download
Download images and videos from one or more tweets
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
tweetId | string | No | — |
tweetIds | string[] | No | — |
tweetInput | string | No | — |
tweetUrl | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
cacheHit | boolean | No | — |
galleryUrl | string | No | — |
totalMedia | number | No | — |
totalTweets | number | No | — |
tweetId | string | No | — |
uploadFromUrl
media.uploadFromUrl
Upload public media URLs for use in Xquik tweet creation
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
account | string | Yes | — |
url | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
mediaId | string | Yes | — |
mediaUrl | string | Yes | — |
success | true | Yes | — |
Trends
get
trends.get
Get trending X topics by WOEID region
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
count | number | No | — |
woeid | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
count | number | Yes | — |
trends | object[] | Yes | — |
woeid | number | Yes | — |
trends full type
trends full type
Tweets
batch
tweets.batch
Fetch up to 100 tweets by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
ids | string[] | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
has_next_page | boolean | Yes | — |
next_cursor | string | No | — |
tweets | object[] | Yes | — |
tweets full type
tweets full type
create
tweets.create
Create a tweet or reply from a connected X account
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
account | string | Yes | — |
attachment_url | string | No | — |
community_id | string | No | — |
is_note_tweet | boolean | No | — |
media | string[] | No | — |
reply_to_tweet_id | string | No | — |
text | string | No | — |
object
Output full type
Output full type
delete
tweets.delete
Delete a tweet from a connected X account
Risk: destructive · Irreversible
| Name | Type | Required | Description |
|---|---|---|---|
account | string | Yes | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | — |
get
tweets.get
Get a tweet with full text, author, metrics, and media
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
author | object | No | — |
tweet | object | Yes | — |
author full type
author full type
tweet full type
tweet full type
like
tweets.like
Like a tweet from a connected X account
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
account | string | Yes | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | — |
retweet
tweets.retweet
Retweet a tweet from a connected X account
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
account | string | Yes | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | — |
search
tweets.search
Search tweets with X query operators and pagination
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
anyWords | string | No | — |
cashtags | string | No | — |
conversationId | string | No | — |
exactPhrase | string | No | — |
excludeWords | string | No | — |
fromUser | string | No | — |
hashtags | string | No | — |
inReplyToTweetId | string | No | — |
language | string | No | — |
mediaType | gifs | images | links | media | none | videos | No | — |
mentioning | string | No | — |
minFaves | number | No | — |
minQuotes | number | No | — |
minReplies | number | No | — |
minRetweets | number | No | — |
quotes | exclude | include | only | No | — |
quotesOfTweetId | string | No | — |
replies | exclude | include | only | No | — |
retweets | exclude | include | only | No | — |
retweetsOfTweetId | string | No | — |
sinceDate | string | No | — |
toUser | string | No | — |
untilDate | string | No | — |
url | string | No | — |
verifiedOnly | boolean | No | — |
cursor | string | No | — |
limit | number | No | — |
q | string | Yes | — |
queryType | Latest | Top | No | — |
sinceTime | string | No | — |
untilTime | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
has_next_page | boolean | Yes | — |
next_cursor | string | No | — |
tweets | object[] | Yes | — |
tweets full type
tweets full type
unlike
tweets.unlike
Remove a like from a connected X account
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
account | string | Yes | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | — |
Users
batch
users.batch
Look up up to 100 X users by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
ids | string[] | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
has_next_page | boolean | Yes | — |
next_cursor | string | No | — |
users | object[] | Yes | — |
users full type
users full type
follow
users.follow
Follow an X user from a connected account
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
account | string | Yes | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | — |
followers
users.followers
List followers of an X user
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
cursor | string | No | — |
pageSize | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
has_next_page | boolean | Yes | — |
next_cursor | string | No | — |
users | object[] | Yes | — |
users full type
users full type
following
users.following
List accounts an X user follows
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
cursor | string | No | — |
pageSize | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
has_next_page | boolean | Yes | — |
next_cursor | string | No | — |
users | object[] | Yes | — |
users full type
users full type
get
users.get
Get an X user profile by username or user ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
coverPicture | string | No | — |
createdAt | string | No | — |
description | string | No | — |
followers | number | No | — |
following | number | No | — |
id | string | Yes | — |
location | string | No | — |
name | string | Yes | — |
profilePicture | string | No | — |
statusesCount | number | No | — |
username | string | Yes | — |
verified | boolean | No | — |
search
users.search
Search X users by name or username
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | No | — |
q | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
has_next_page | boolean | Yes | — |
next_cursor | string | No | — |
users | object[] | Yes | — |
users full type
users full type
tweets
users.tweets
List recent tweets posted by an X user
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
cursor | string | No | — |
pageSize | number | No | — |
anyWords | string | No | — |
cashtags | string | No | — |
conversationId | string | No | — |
exactPhrase | string | No | — |
excludeWords | string | No | — |
fromUser | string | No | — |
hashtags | string | No | — |
inReplyToTweetId | string | No | — |
language | string | No | — |
mediaType | gifs | images | links | media | none | videos | No | — |
mentioning | string | No | — |
minFaves | number | No | — |
minQuotes | number | No | — |
minReplies | number | No | — |
minRetweets | number | No | — |
quotes | exclude | include | only | No | — |
quotesOfTweetId | string | No | — |
replies | exclude | include | only | No | — |
retweets | exclude | include | only | No | — |
retweetsOfTweetId | string | No | — |
sinceDate | string | No | — |
toUser | string | No | — |
untilDate | string | No | — |
url | string | No | — |
verifiedOnly | boolean | No | — |
includeParentTweet | boolean | No | — |
includeReplies | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
has_next_page | boolean | Yes | — |
next_cursor | string | No | — |
tweets | object[] | Yes | — |
tweets full type
tweets full type
unfollow
users.unfollow
Unfollow an X user from a connected account
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
account | string | Yes | — |
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | — |
Webhooks
create
webhooks.create
Create an Xquik webhook endpoint subscription
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
eventTypes | tweet.new | tweet.quote | tweet.reply | tweet.retweet[] | Yes | — |
url | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | Yes | — |
eventTypes | tweet.new | tweet.quote | tweet.reply | tweet.retweet[] | Yes | — |
id | string | Yes | — |
isActive | boolean | Yes | — |
url | string | Yes | — |
secret | string | Yes | — |
deactivate
webhooks.deactivate
Deactivate an Xquik webhook endpoint
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | true | Yes | — |
deliveries
webhooks.deliveries
List delivery attempts for an Xquik webhook endpoint
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
deliveries | object[] | Yes | — |
deliveries full type
deliveries full type
list
webhooks.list
List configured Xquik webhook endpoints
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
webhooks | object[] | Yes | — |
webhooks full type
webhooks full type
test
webhooks.test
Send a test delivery to an Xquik webhook endpoint
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
error | string | No | — |
statusCode | number | Yes | — |
success | boolean | Yes | — |
update
webhooks.update
Update a Xquik webhook URL, event types, or active state
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
eventTypes | tweet.new | tweet.quote | tweet.reply | tweet.retweet[] | No | — |
id | string | Yes | — |
isActive | boolean | No | — |
url | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
createdAt | string | Yes | — |
eventTypes | tweet.new | tweet.quote | tweet.reply | tweet.retweet[] | Yes | — |
id | string | Yes | — |
isActive | boolean | Yes | — |
url | string | Yes | — |
Write Actions
get
writeActions.get
Check the status of a pending Xquik write action
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
action | string | Yes | — |
charged | boolean | Yes | — |
confirmationAttempts | number | No | — |
confirmationCheckedAt | string | No | — |
confirmationSource | string | No | — |
confirmedAt | string | No | — |
createdAt | string | Yes | — |
message | string | No | — |
messageId | string | No | — |
retryable | boolean | Yes | — |
sendDispatched | boolean | Yes | — |
sendDispatchedAt | string | No | — |
status | failed | pending_confirmation | success | Yes | — |
targetId | string | No | — |
tweetId | string | No | — |
writeActionId | string | Yes | — |