

X / Twitter Automation
Function
Available ActionsEach successful request consumes credits as outlined below.
lookup_posts5crsearch_posts5crcreate_post5crcreate_post_with_link25crcreate_reply5crcreate_reply_with_link25crdelete_post5crset_reply_hidden5crset_like5crset_repost5crlookup_post_engagers5crlookup_users5crset_follow5crlookup_follows5crlookup_timeline5crlookup_dms5crsend_dm5crupload_media5crcreate_list1crupdate_list1crdelete_list1crset_list_membership1crset_list_follow1crset_list_pin1crlookup_lists1crlookup_list_contents1cr
Details
X (Twitter) automation for AI agents and social media teams. Connect your X account once and run your entire publishing, engagement, and social listening workflow from a single MCP-ready API. Post tweets and replies, attach images, GIFs, and video, and search X for brand keywords, mentions, competitors, and trending topics — then draft and send on-brand replies in seconds. Like, repost, follow, and send DMs; build and curate X Lists; and read your mentions, home, and user timelines for reporting. Built for automated tweet scheduling, brand and competitor monitoring, social media customer support, influencer outreach, and end-to-end X / Twitter / X.com content workflows.
Use Cases
Publish posts and replies to X / Twitter from agent workflows, Schedule and orchestrate Twitter content calendars, Search recent X posts for brand monitoring, competitor tracking, and trend detection, Draft and send on-brand replies to the conversations that matter, Upload images, GIFs, and video to X from File Manager files or any public URL, Run social media customer support over X DMs, Send launch announcements and follow-up DMs from automations, Like, repost, and follow as part of engagement automations, Hide spam or off-topic replies on your own posts, Build and curate X Lists for launch watch, competitor watch, and community segmentation, Read mentions, home, and user timelines for social analytics and reporting, Resolve X users by ID, username, or the authenticated account
Actions(26)
lookup_posts5cr3 paramsGet one or more X posts by ID with curated field verbosity.
lookup_posts5cr3 paramsGet one or more X posts by ID with curated field verbosity.
post_idstringSingle post ID to fetch.
post_idsarrayMultiple post IDs to fetch.
Array of: string
verbositystringResponse detail level: minimal, standard, or expanded.
Values:
minimalstandardexpanded
search_posts5cr6 params(1 required)Search recent X posts from the last 7 days.
search_posts5cr6 params(1 required)Search recent X posts from the last 7 days.
queryrequiredstringX recent-search query.
start_timestringRFC3339 start time for recent search, for example 2026-05-14T18:00:00Z.
end_timestringRFC3339 end time for recent search, for example 2026-05-14T19:00:00Z.
max_resultsintegerMaximum results to return, 1-100.
pagination_tokenstringPagination token from a previous response.
verbositystringResponse detail level: minimal, standard, or expanded.
Values:
minimalstandardexpanded
create_post5cr2 paramsCreate a top-level X post without links. Use create_post_with_link for text containing web links. Quote-post creation is not supported.
create_post5cr2 paramsCreate a top-level X post without links. Use create_post_with_link for text containing web links. Quote-post creation is not supported.
textstringLink-free post text. Required unless media_ids is provided.
media_idsarrayMedia IDs to attach, max 4.
Array of: string
create_post_with_link25cr2 params(1 required)Create a top-level X post whose text contains at least one web link. Quote-post creation is not supported.
create_post_with_link25cr2 params(1 required)Create a top-level X post whose text contains at least one web link. Quote-post creation is not supported.
textrequiredstringPost text containing at least one web link.
media_idsarrayMedia IDs to attach, max 4.
Array of: string
create_reply5cr3 params(1 required)Reply to another X post without links. X self-serve plans may restrict replies unless the original author has summoned the authenticated account.
create_reply5cr3 params(1 required)Reply to another X post without links. X self-serve plans may restrict replies unless the original author has summoned the authenticated account.
reply_to_post_idrequiredstringPost ID to reply to.
textstringLink-free reply text. Required unless media_ids is provided.
media_idsarrayMedia IDs to attach, max 4.
Array of: string
create_reply_with_link25cr3 params(2 required)Reply to another X post with text containing at least one web link. X self-serve plans may restrict replies unless the original author has summoned the authenticated account.
create_reply_with_link25cr3 params(2 required)Reply to another X post with text containing at least one web link. X self-serve plans may restrict replies unless the original author has summoned the authenticated account.
reply_to_post_idrequiredstringPost ID to reply to.
textrequiredstringReply text containing at least one web link.
media_idsarrayMedia IDs to attach, max 4.
Array of: string
delete_post5cr1 param(1 required)Delete a post by ID.
delete_post5cr1 param(1 required)Delete a post by ID.
post_idrequiredstringPost ID to delete.
set_reply_hidden5cr2 params(2 required)Hide or unhide a reply on your post.
set_reply_hidden5cr2 params(2 required)Hide or unhide a reply on your post.
reply_post_idrequiredstringReply post ID to hide or unhide.
hiddenrequiredbooleanTrue to hide, false to unhide.
set_like5cr2 params(2 required)Like or unlike a post as the authenticated user.
set_like5cr2 params(2 required)Like or unlike a post as the authenticated user.
post_idrequiredstringPost ID to like or unlike.
likedrequiredbooleanTrue to like, false to unlike.
set_repost5cr2 params(2 required)Repost or undo repost as the authenticated user.
set_repost5cr2 params(2 required)Repost or undo repost as the authenticated user.
post_idrequiredstringPost ID to repost or undo repost.
repostedrequiredbooleanTrue to repost, false to undo repost.
lookup_post_engagers5cr5 params(2 required)List users who liked or reposted a post, or list quote posts.
lookup_post_engagers5cr5 params(2 required)List users who liked or reposted a post, or list quote posts.
post_idrequiredstringPost ID to inspect.
engagement_typerequiredstringEngagement to retrieve: likes, reposts, or quotes.
Values:
likesrepostsquotes
max_resultsintegerMaximum results to return, 1-100.
pagination_tokenstringPagination token from a previous response.
verbositystringResponse detail level: minimal, standard, or expanded.
Values:
minimalstandardexpanded
lookup_users5cr6 params(1 required)Resolve users by ID, username, or the authenticated account.
lookup_users5cr6 params(1 required)Resolve users by ID, username, or the authenticated account.
lookup_byrequiredstringLookup mode: ids, usernames, or me.
Values:
idsusernamesme
user_idstringSingle user ID for ids mode.
user_idsarrayMultiple user IDs for ids mode.
Array of: string
usernamestringSingle username without @ for usernames mode.
usernamesarrayMultiple usernames without @ for usernames mode.
Array of: string
verbositystringResponse detail level: minimal, standard, or expanded.
Values:
minimalstandardexpanded
set_follow5cr2 params(2 required)Follow or unfollow a user as the authenticated user.
set_follow5cr2 params(2 required)Follow or unfollow a user as the authenticated user.
user_idrequiredstringTarget user ID to follow or unfollow.
followingrequiredbooleanTrue to follow, false to unfollow.
lookup_follows5cr5 params(2 required)List followers or followed users for a user.
lookup_follows5cr5 params(2 required)List followers or followed users for a user.
user_idrequiredstringUser ID to inspect.
relationshiprequiredstringRelationship list to retrieve: followers or following.
Values:
followersfollowing
max_resultsintegerMaximum results to return, 1-100.
pagination_tokenstringPagination token from a previous response.
verbositystringResponse detail level: minimal, standard, or expanded.
Values:
minimalstandardexpanded
lookup_timeline5cr5 params(1 required)Read user posts, mentions, or authenticated home timeline.
lookup_timeline5cr5 params(1 required)Read user posts, mentions, or authenticated home timeline.
timeline_typerequiredstringTimeline mode: user_posts, mentions, or home.
Values:
user_postsmentionshome
user_idstringUser ID required for user_posts and mentions; optional for home.
max_resultsintegerMaximum results to return, 1-100.
pagination_tokenstringPagination token from a previous response.
verbositystringResponse detail level: minimal, standard, or expanded.
Values:
minimalstandardexpanded
lookup_dms5cr7 params(1 required)Read DM events by scope: all, conversation, participant, or event_id.
lookup_dms5cr7 params(1 required)Read DM events by scope: all, conversation, participant, or event_id.
scoperequiredstringDM lookup scope: all, conversation, participant, or event_id.
Values:
allconversationparticipantevent_id
conversation_idstringConversation ID for conversation scope.
participant_user_idstringParticipant user ID for participant scope.
event_idstringDM event ID for event_id scope.
max_resultsintegerMaximum results to return, 1-100.
pagination_tokenstringPagination token from a previous response.
verbositystringResponse detail level: minimal, standard, or expanded.
Values:
minimalstandardexpanded
send_dm5cr6 params(1 required)Send a DM to a participant, existing conversation, or new group.
send_dm5cr6 params(1 required)Send a DM to a participant, existing conversation, or new group.
target_typerequiredstringTarget mode: participant, conversation, or new_group.
Values:
participantconversationnew_group
participant_user_idstringParticipant user ID for participant mode.
conversation_idstringConversation ID for conversation mode.
participant_user_idsarrayParticipant user IDs for new_group mode.
Array of: string
textstringDM text. Required unless media_id is provided.
media_idstringOptional uploaded DM media ID. One media attachment is supported.
upload_media5cr4 params(2 required)Upload image, GIF, or video media for posts or DMs and return a media ID.
upload_media5cr4 params(2 required)Upload image, GIF, or video media for posts or DMs and return a media ID.
media_typerequiredstringMedia kind: image, gif, or video.
Values:
imagegifvideo
usage_contextrequiredstringWhere the media will be used: post or dm.
Values:
postdm
file_idstringAgentPMT File Manager file ID to upload.
source_urlstringPublic URL to fetch and upload.
create_list1cr3 params(1 required)Create a new X List for the authenticated user.
create_list1cr3 params(1 required)Create a new X List for the authenticated user.
list_namerequiredstringList name, 1-25 characters.
list_descriptionstringOptional List description, max 100 characters.
list_privatebooleanTrue to create a private List.
update_list1cr4 params(1 required)Update a List's name, description, or privacy setting.
update_list1cr4 params(1 required)Update a List's name, description, or privacy setting.
list_idrequiredstringList ID to update.
list_namestringNew List name, 1-25 characters.
list_descriptionstringNew List description, max 100 characters. Use an empty string to clear.
list_privatebooleanTrue for private, false for public.
delete_list1cr1 param(1 required)Delete a List owned by the authenticated user.
delete_list1cr1 param(1 required)Delete a List owned by the authenticated user.
list_idrequiredstringList ID to delete.
set_list_membership1cr3 params(3 required)Add or remove a user as a member of a List owned by the authenticated user.
set_list_membership1cr3 params(3 required)Add or remove a user as a member of a List owned by the authenticated user.
list_idrequiredstringList ID to modify.
user_idrequiredstringUser ID to add or remove.
is_memberrequiredbooleanTrue to add, false to remove.
set_list_follow1cr2 params(2 required)Follow or unfollow a List as the authenticated user.
set_list_follow1cr2 params(2 required)Follow or unfollow a List as the authenticated user.
list_idrequiredstringList ID to follow or unfollow.
followingrequiredbooleanTrue to follow, false to unfollow.
set_list_pin1cr2 params(2 required)Pin or unpin a followed or owned List for the authenticated user.
set_list_pin1cr2 params(2 required)Pin or unpin a followed or owned List for the authenticated user.
list_idrequiredstringList ID to pin or unpin.
pinnedrequiredbooleanTrue to pin, false to unpin.
lookup_lists1cr6 params(1 required)Look up one List or list owned, membership, followed, or pinned Lists.
lookup_lists1cr6 params(1 required)Look up one List or list owned, membership, followed, or pinned Lists.
list_scoperequiredstringLookup scope: id, owned, memberships, followed, or pinned.
Values:
idownedmembershipsfollowedpinned
list_idstringRequired when list_scope is id.
user_idstringOptional for owned, memberships, and followed scopes. Omit for pinned because pinned Lists use the authenticated user.
max_resultsintegerMaximum results to return, 1-100.
pagination_tokenstringPagination token from a previous response.
verbositystringResponse detail level: minimal, standard, or expanded.
Values:
minimalstandardexpanded
lookup_list_contents1cr5 params(2 required)List members, followers, or posts for a List.
lookup_list_contents1cr5 params(2 required)List members, followers, or posts for a List.
list_idrequiredstringList ID to inspect.
list_viewrequiredstringContent view: members, followers, or posts.
Values:
membersfollowersposts
max_resultsintegerMaximum results to return, 1-100.
pagination_tokenstringPagination token from a previous response.
verbositystringResponse detail level: minimal, standard, or expanded.
Values:
minimalstandardexpanded
About this Product
Run your entire X (Twitter) presence from one connected account
X / Twitter Automation gives AI agents and social teams a single, MCP-ready API to publish, engage, listen, and report on X. Connect your account once, then post, reply, monitor mentions, draft on-brand responses, and send DMs — by hand or fully automated through agent workflows.
What you can do
Publish
- Post tweets and replies to X / Twitter, with or without links.
- Attach images, GIFs, and video uploaded from File Manager or any public URL.
- Schedule and orchestrate content calendars from autonomous agents and workflows.
Listen & monitor
- Search recent X posts for brand keywords, mentions, competitors, and trending topics.
- Read your mentions, home, and user timelines for analytics and reporting.
- See who liked, reposted, or quoted any post.
Engage
- Draft and send on-brand replies to the conversations that matter most.
- Like, repost, and follow as part of automated engagement.
- Hide spam or off-topic replies on your own posts to keep threads clean.
Direct messages
- Run social media customer support over X DMs.
- Send launch announcements, follow-ups, and outreach to people, existing conversations, or new group chats.
Lists
- Build and curate X Lists for launch watch, competitor watch, and community segmentation.
- Follow, pin, and manage membership of Lists, and read their members, followers, and posts.
Popular workflows
- On-brand reply queue — surface the best recent posts about your topic and draft replies that match your brand voice.
- Launch day — publish an announcement with a graphic and link, then monitor reactions and reply to the highest-signal ones.
- Always-on brand monitoring — track mentions and competitors, and surface conversations worth joining.
- DM customer support — read and respond to support conversations straight from your agents.
Getting started
Connect your X account once with secure OAuth. From there, your agents can publish, search, engage, and DM on your behalf across any workflow.
Frequently Asked Questions
Can it draft replies that match my brand voice?
Yes. Search recent posts about your topic or brand, then have your agent draft on-brand replies for you to review and send — one at a time or in batches.
Can it post images, GIFs, and video?
Yes. Upload media from File Manager or any public URL and attach it to posts, replies, or DMs.
Does it work with autonomous agents and scheduled workflows?
Yes. Every capability is available to agents and workflows, so you can schedule content, automate engagement, and run always-on monitoring.
How do I connect my X account?
Connect once through secure OAuth. After that, your agents act on your connected account across any workflow.
How does brand and competitor monitoring work?
Search recent X posts by keyword, hashtag, or account, read your mentions and home timelines, and curate X Lists to watch the accounts that matter to you.
What can I do with X / Twitter Automation?
Publish posts and replies, upload images, GIFs, and video, search recent X posts for brand and competitor mentions, read your mentions and timelines, like, repost, and follow, send DMs, and build and manage X Lists — all from agents and automated workflows on a connected X account.





