Queue actions
16 actions. Every field marked Required must be sent; account, dryRun, idempotencyKey, confirmCredits and quoteId are the control fields every surface adds.
Queue and drafts
Section titled “Queue and drafts”queue.list · read
Scheduled posts and drafts, soonest first, in a compact form (text, status, time, automations in words). Pass detail: true for each post’s full validation and automation steps.
- MCP tool:
get_queue. Loaded by default in MCP clients. - REST:
GET /v1/queue/list - CLI:
xholic queue list - Scope:
read - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
read
Input
| Field | Type | Required | Description |
|---|---|---|---|
view |
“all” \ | “queued” \ | “drafts” \ |
limit |
integer 1–20 | No | Default: 10. |
detail |
boolean | No | Full post objects instead of the compact form. |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
Reschedule a post
Section titled “Reschedule a post”queue.reschedule · publish
Move a queued post to a new time. Call it only when the user asked for this in the conversation; never on your own initiative.
- MCP tool:
reschedule_post. Loaded by default in MCP clients. - REST:
POST /v1/queue/reschedule - CLI:
xholic queue reschedule - Scope:
publish - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
write
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string (uuid) | Yes | |
scheduledAt |
string | Yes | The local date and time in timezone, such as 2026-10-25T10:00. Write the time the user means; do not convert it to UTC or add an offset. |
timezone |
string ≤ 80 chars | Yes | |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
dryRun |
boolean | No | Return exactly what would happen without doing it. |
idempotencyKey |
string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
Unschedule a post
Section titled “Unschedule a post”queue.unschedule · write
Take a scheduled post out of the queue and keep it as a draft.
- MCP tool:
unschedule_post. Loaded by default in MCP clients. - REST:
POST /v1/queue/unschedule - CLI:
xholic queue unschedule - Scope:
write - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
write
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string ≤ 120 chars | Yes | |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
dryRun |
boolean | No | Return exactly what would happen without doing it. |
idempotencyKey |
string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
Edit a queued post
Section titled “Edit a queued post”queue.edit · publish
Change the text, thread (parts, numbering, finisher), media or automations of a draft or scheduled post. To turn a single post into a thread, send every part as threadParts.
- MCP tool:
edit_queued_post. Loaded by default in MCP clients. - REST:
POST /v1/queue/edit - CLI:
xholic queue edit - Scope:
publish - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
write
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string ≤ 120 chars | Yes | |
text |
string ≤ 25000 chars | Yes | |
threadParts |
array of string ≤ 25000 chars (min 2, max 25) | No | For a thread: every part in order, starting with the same first post as text. With 2 or more parts it is posted as a real thread, one reply after another. |
threadOptions |
object | No | Thread numbering and the thread finisher, as in the app’s composer (threads only). Ask the user before turning either on. Left out, a new thread has neither and an edited one keeps its own. |
threadOptions.numbering |
boolean | No | Number each post of the thread. |
threadOptions.numberingFormat |
“hash” \ | “emoji” \ | “dot” \ |
threadOptions.finisher |
boolean | No | End the thread with one extra reply that links to the first post. It is a post with a link, so it costs 10 post credits on top of 1 per thread part: tell the user before turning it on. |
threadOptions.finisherText |
string ≤ 250 chars | No | Optional text above the first-post link in that closing reply, such as “Thanks for reading. Repost the first post to share it.” |
media |
array of object (max 4) | No | Media from upload_media, by mediaId. Up to 4 images, or 1 GIF or video. |
automation |
object | No | Post automations (auto-repost, auto-plug reply, auto-delete, auto-DM). Left out, the account’s defaults apply (often auto-repost); the result says which. On a thread, auto-repost reposts only the first post (that brings back the whole thread), auto-delete deletes every post of the thread, the auto-plug reply goes under the last post, and auto-DM watches replies to every post. Before scheduling, tell the user which automations will run and when, and change them if they ask. Send only what you change: the rest keeps the account’s defaults, or the post’s own automations when editing. E.g. { autoRepost: { enabled: true, repostDelaysMinutes: [480] } } or { autoRepost: { enabled: false } }. Shape: docs.xholic.ai/api/automations. |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
dryRun |
boolean | No | Return exactly what would happen without doing it. |
idempotencyKey |
string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
Delete a draft or scheduled post
Section titled “Delete a draft or scheduled post”queue.delete · write
Delete a draft or scheduled post from Xholic. It does not delete anything already on X. Call it only when the user asked for this in the conversation; never on your own initiative.
- MCP tool:
delete_queued_post. Loaded by default in MCP clients. - REST:
POST /v1/queue/delete - CLI:
xholic queue delete - Scope:
write. Destructive: it can’t be taken back - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
write
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string ≤ 120 chars | Yes | |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
dryRun |
boolean | No | Return exactly what would happen without doing it. |
idempotencyKey |
string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
Queue counts
Section titled “Queue counts”queue.counts · read
How many posts are queued, drafted, posted and failed.
- MCP tool:
queue_counts. Catalog: reach it withfind_actionsandrun_read_action, or turn on the full toolset. - REST:
GET /v1/queue/counts - CLI:
xholic queue counts - Scope:
read - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
read
Input
| Field | Type | Required | Description |
|---|---|---|---|
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
Get a queued post
Section titled “Get a queued post”queue.get_post · read
One draft, scheduled, posted or failed post in Xholic with its text, thread, media, automations and status.
- MCP tool:
queue_get_post. Catalog: reach it withfind_actionsandrun_read_action, or turn on the full toolset. - REST:
GET /v1/queue/get-post - CLI:
xholic queue get-post - Scope:
read - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
read
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string ≤ 120 chars | Yes | Xholic scheduled post id, from get_queue. |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
A sent post’s numbers
Section titled “A sent post’s numbers”queue.post_metrics · read
Views, likes, replies, reposts, quotes and bookmarks for each part of a post Xholic sent, as of the last sync. Posts that never went out have none.
- MCP tool:
queue_post_metrics. Catalog: reach it withfind_actionsandrun_read_action, or turn on the full toolset. - REST:
GET /v1/queue/post-metrics - CLI:
xholic queue post-metrics - Scope:
read - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
read
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string ≤ 120 chars | Yes | Xholic scheduled post id, from get_queue. |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
Post a queued post now
Section titled “Post a queued post now”queue.post_now · publish
Publish an existing draft or scheduled post to X right away. Send its text (the current text from queue.get_post, or the edited one). Call it only when the user asked for this in the conversation; never on your own initiative. Spends a post credit.
- MCP tool:
queue_post_now. Catalog: reach it withfind_actionsandrun_write_action, or turn on the full toolset. - REST:
POST /v1/queue/post-now - CLI:
xholic queue post-now - Scope:
publish. Destructive: it can’t be taken back - Plan: Every plan, including the trial
- Cost: Spends a post credit when the post goes live.
- Rate limit bucket:
write
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string ≤ 120 chars | Yes | Xholic scheduled post id, from get_queue. |
text |
string ≤ 100000 chars | Yes | |
threadParts |
array of string ≤ 100000 chars (max 100) | No | For a thread: every part in order, starting with the same first post as text. |
media |
array of object (max 400) | No | Media by mediaId, placed by thread part and position (0-3). |
automation |
object | No | Post automations (auto-repost, auto-plug reply, auto-delete, auto-DM). Send only what you change; the rest keeps the post’s own automations. Shape as in the docs: docs.xholic.ai/api/automations. |
expectedUpdatedAt |
string (date-time) | No | The post’s updatedAt from queue.get_post; refuses if it changed since. |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
dryRun |
boolean | No | Return exactly what would happen without doing it. |
idempotencyKey |
string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
Cancel a post
Section titled “Cancel a post”queue.cancel · write
Cancel a draft, scheduled or failed post so it never goes out. Call it only when the user asked for this in the conversation; never on your own initiative.
- MCP tool:
queue_cancel. Catalog: reach it withfind_actionsandrun_write_action, or turn on the full toolset. - REST:
POST /v1/queue/cancel - CLI:
xholic queue cancel - Scope:
write. Destructive: it can’t be taken back - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
write
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string ≤ 120 chars | Yes | Xholic scheduled post id, from get_queue. |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
dryRun |
boolean | No | Return exactly what would happen without doing it. |
idempotencyKey |
string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
Share a draft link
Section titled “Share a draft link”queue.share_draft · write
Create a public read-only link to a draft so someone without Xholic can review it. Call it only when the user asked for this in the conversation; never on your own initiative.
- MCP tool:
queue_share_draft. Catalog: reach it withfind_actionsandrun_write_action, or turn on the full toolset. - REST:
POST /v1/queue/share-draft - CLI:
xholic queue share-draft - Scope:
write - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
write - Undo: from the activity log, which runs
queue.revoke_share
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string ≤ 120 chars | Yes | Xholic scheduled post id, from get_queue. |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
dryRun |
boolean | No | Return exactly what would happen without doing it. |
idempotencyKey |
string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
Turn off draft links
Section titled “Turn off draft links”queue.revoke_share · write
Turn off every public link to a draft.
- MCP tool:
queue_revoke_share. Catalog: reach it withfind_actionsandrun_write_action, or turn on the full toolset. - REST:
POST /v1/queue/revoke-share - CLI:
xholic queue revoke-share - Scope:
write - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
write
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string ≤ 120 chars | Yes | Xholic scheduled post id, from get_queue. |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
dryRun |
boolean | No | Return exactly what would happen without doing it. |
idempotencyKey |
string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
Automation steps across posts
Section titled “Automation steps across posts”queue.list_automations · read
Automation steps across all posts in one list: upcoming shows what runs next (reposts, unreposts, plug replies, deletes, keyword DMs), soonest first; recent shows what ran or changed lately, newest first. Each step comes with its post. Page with nextCursor.
- MCP tool:
queue_list_automations. Catalog: reach it withfind_actionsandrun_read_action, or turn on the full toolset. - REST:
GET /v1/queue/list-automations - CLI:
xholic queue list-automations - Scope:
read - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
read
Input
| Field | Type | Required | Description |
|---|---|---|---|
section |
“upcoming” \ | “recent” | Yes |
types |
array of “AUTO_REPOST” \ | “AUTO_UNREPOST” \ | “AUTO_PLUG” \ |
cursor |
string ≤ 500 chars | No | nextCursor from the previous page. |
limit |
integer 1–100 | No | Steps per page (default 40). |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
Add an automation to a live post
Section titled “Add an automation to a live post”queue.add_automation_step · publish
Add one automation step to a post that is already live: repost, unrepost, delete, a plug reply after enough likes, or DMs to people who reply with a keyword. Call it only when the user asked for this in the conversation; never on your own initiative.
- MCP tool:
queue_add_automation_step. Catalog: reach it withfind_actionsandrun_write_action, or turn on the full toolset. - REST:
POST /v1/queue/add-automation-step - CLI:
xholic queue add-automation-step - Scope:
publish - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
write
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string ≤ 120 chars | Yes | Xholic scheduled post id, from get_queue. |
type |
“AUTO_REPOST” \ | “AUTO_UNREPOST” \ | “AUTO_DELETE” \ |
delayMinutes |
integer 0–9007199254740991 | No | AUTO_REPOST, AUTO_UNREPOST, AUTO_DELETE: minutes after the post went live. |
viewsThreshold |
integer 1–9007199254740991 | No | AUTO_DELETE: delete only if the post has fewer views than this. |
likesThreshold |
integer 1–9007199254740991 | No | AUTO_PLUG: likes that trigger the plug reply. |
templateName |
string ≤ 60 chars | No | AUTO_PLUG: a short name for the plug. |
templateText |
string ≤ 4000 chars | No | AUTO_PLUG: the plug reply text. |
monitoringWindowMinutes |
integer 60–10080 | No | AUTO_PLUG: minutes after posting when watching for likes stops. |
replyKeyword |
string ≤ 40 chars | No | AUTO_DM_DISCOVERY: one word repliers type. |
requireRepost |
boolean | No | AUTO_DM_DISCOVERY: DM only people who also reposted. |
maxRecipients |
integer 1–100 | No | AUTO_DM_DISCOVERY: most DMs to send. |
messageTemplate |
string | No | AUTO_DM_DISCOVERY: the DM to send. |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
dryRun |
boolean | No | Return exactly what would happen without doing it. |
idempotencyKey |
string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
Edit a live post’s automation
Section titled “Edit a live post’s automation”queue.update_automation_step · publish
Change a pending automation step on a live post. Send its type and only the fields you change; the rest keep their current values. Call it only when the user asked for this in the conversation; never on your own initiative.
- MCP tool:
queue_update_automation_step. Catalog: reach it withfind_actionsandrun_write_action, or turn on the full toolset. - REST:
POST /v1/queue/update-automation-step - CLI:
xholic queue update-automation-step - Scope:
publish - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
write
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string ≤ 120 chars | Yes | Xholic scheduled post id, from get_queue. |
ruleId |
string (uuid) | Yes | |
type |
“AUTO_REPOST” \ | “AUTO_UNREPOST” \ | “AUTO_DELETE” \ |
delayMinutes |
integer 0–9007199254740991 | No | AUTO_REPOST, AUTO_UNREPOST, AUTO_DELETE: minutes after the post went live. |
viewsThreshold |
integer 1–9007199254740991 | No | AUTO_DELETE: delete only if the post has fewer views than this. |
likesThreshold |
integer 1–9007199254740991 | No | AUTO_PLUG: likes that trigger the plug reply. |
templateName |
string ≤ 60 chars | No | AUTO_PLUG: a short name for the plug. |
templateText |
string ≤ 4000 chars | No | AUTO_PLUG: the plug reply text. |
monitoringWindowMinutes |
integer 60–10080 | No | AUTO_PLUG: minutes after posting when watching for likes stops. |
replyKeyword |
string ≤ 40 chars | No | AUTO_DM_DISCOVERY: one word repliers type. |
requireRepost |
boolean | No | AUTO_DM_DISCOVERY: DM only people who also reposted. |
maxRecipients |
integer 1–100 | No | AUTO_DM_DISCOVERY: most DMs to send. |
messageTemplate |
string | No | AUTO_DM_DISCOVERY: the DM to send. |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
dryRun |
boolean | No | Return exactly what would happen without doing it. |
idempotencyKey |
string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
Remove a live post’s automation
Section titled “Remove a live post’s automation”queue.remove_automation_step · write
Remove a pending automation step (a repost, unrepost, plug reply, delete or DM step) from a live post before it runs, e.g. cancel its second repost. Call it only when the user asked for this in the conversation; never on your own initiative.
- MCP tool:
queue_remove_automation_step. Catalog: reach it withfind_actionsandrun_write_action, or turn on the full toolset. - REST:
POST /v1/queue/remove-automation-step - CLI:
xholic queue remove-automation-step - Scope:
write. Destructive: it can’t be taken back - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
write
Input
| Field | Type | Required | Description |
|---|---|---|---|
postId |
string ≤ 120 chars | Yes | Xholic scheduled post id, from get_queue. |
ruleId |
string (uuid) | Yes | |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
dryRun |
boolean | No | Return exactly what would happen without doing it. |
idempotencyKey |
string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
