Skip to content

Posts actions

4 actions. Every field marked Required must be sent; account, dryRun, idempotencyKey, confirmCredits and quoteId are the control fields every surface adds.

posts.get · read

Any X post by id or URL with its numbers and context.

  • MCP tool: get_post. Loaded by default in MCP clients.
  • REST: GET /v1/posts/get
  • CLI: xholic posts get
  • Scope: read
  • Plan: Every plan, including the trial
  • Cost: Live X lookup: no credits, counts toward the plan’s X data limits.
  • Rate limit bucket: live_x

Input

Field Type Required Description
tweetId string Yes
account string ≤ 64 chars No X account to act on, as @handle. Leave it out to use the connection’s default account.

posts.conversation · read

A post’s thread and replies.

  • MCP tool: posts_conversation. Catalog: reach it with find_actions and run_read_action, or turn on the full toolset.
  • REST: GET /v1/posts/conversation
  • CLI: xholic posts conversation
  • Scope: read
  • Plan: Every plan, including the trial
  • Cost: Live X lookup: no credits, counts toward the plan’s X data limits.
  • Rate limit bucket: live_x

Input

Field Type Required Description
tweetId string Yes
account string ≤ 64 chars No X account to act on, as @handle. Leave it out to use the connection’s default account.

posts.schedule · publish

Schedule a post or thread on X at a time. Supports media, automations, and thread numbering and finisher. The result gives the account’s post length limit (xPostLimit) and any warnings: report those, never a limit of your own. Call it only when the user asked for this in the conversation; never on your own initiative. It spends post credits when it goes live: 1 per post, so 1 per thread part, and 10 for a post with a link (the thread finisher is one).

  • MCP tool: schedule_post. Loaded by default in MCP clients.
  • REST: POST /v1/posts/schedule
  • CLI: xholic posts schedule
  • Scope: publish
  • Plan: Every plan, including the trial
  • Cost: Spends a post credit when the post goes live.
  • Rate limit bucket: write
  • Undo: from the activity log, which runs queue.unschedule

Input

Field Type Required Description
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.”
scheduledAt string ≤ 40 chars Yes When to post: the user’s local date and time such as 2026-10-25T10:00 (then pass timezone), or an ISO time with offset.
timezone string ≤ 80 chars Yes IANA timezone such as America/New_York. Use the user’s timezone.
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.
noteId string (uuid) No The note this post was written from (an id from get_me or find_notes). Links the post to the note, so the note closes when it’s scheduled or posted and never writes duplicate drafts.
sourcePostIds array of string ≤ 200 chars (max 3) No The posts this was built from (ids from search_inspiration, get_writing_kit or niche_now; up to 3). Shows “Built from @x · 9.6× their usual” on the draft, rests the source for 14 days, and lets results show whether library-built posts beat the rest.
fromDraftId string (uuid) No The Xholic draft this replaces (a postId from show_drafts or save_draft). It’s removed once this is scheduled or posted, so no copy is left behind.
feedback string ≤ 500 chars No What the user said about this draft or the ones before it, in their words: what they liked, rejected or changed (“too clever”, “I don’t want to look clueless about dev basics”). Xholic remembers it for every agent. Leave out when they said nothing.
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.

posts.publish_now · publish

Post to X immediately. Requires idempotencyKey so a retry can never post twice. The result gives the account’s post length limit (xPostLimit) and any warnings. Call it only when the user asked for this in the conversation; never on your own initiative. Spends post credits: 1 per post, so 1 per thread part, and 10 for a post with a link (the thread finisher is one).

  • MCP tool: publish_now. Loaded by default in MCP clients.
  • REST: POST /v1/posts/publish-now
  • CLI: xholic posts publish-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
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.
noteId string (uuid) No The note this post was written from (an id from get_me or find_notes). Links the post to the note, so the note closes when it’s scheduled or posted and never writes duplicate drafts.
sourcePostIds array of string ≤ 200 chars (max 3) No The posts this was built from (ids from search_inspiration, get_writing_kit or niche_now; up to 3). Shows “Built from @x · 9.6× their usual” on the draft, rests the source for 14 days, and lets results show whether library-built posts beat the rest.
fromDraftId string (uuid) No The Xholic draft this replaces (a postId from show_drafts or save_draft). It’s removed once this is scheduled or posted, so no copy is left behind.
feedback string ≤ 500 chars No What the user said about this draft or the ones before it, in their words: what they liked, rejected or changed (“too clever”, “I don’t want to look clueless about dev basics”). Xholic remembers it for every agent. Leave out when they said nothing.
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.