x-twitter.reply_to_post
Reply to a post from a connected X account.
Call x-twitter.connected_accounts first. Pass user_id or user_name to target a specific account, or omit both to use the default account.
Requires reply_to_post_id. Supports the same content options as x-twitter.create_post: text, polls, media, reply settings, paid partnership disclosure, AI-generated labels, super-follower exclusivity, nullcast posts, cards, communities, and direct-message deep links.
At least one of text, poll, media, or card_uri is required, same as x-twitter.create_post.
Token pricing matches x-twitter.create_post.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poll | No | Poll object with options (2-4 strings) and duration_minutes (5-10080). | |
| text | No | Reply text content. At least one of text, poll, media, or card_uri is required. | |
| media | No | File names from files.list_uploaded_files to attach (up to 4). | |
| user_id | No | Numeric X user id from x-twitter.connected_accounts. Pass user_id or user_name to target a specific account, not both. Omit both to use the default account. | |
| card_uri | No | Card URI for the post. Mutually exclusive with poll and media. | |
| nullcast | No | Whether the post is promoted-only and hidden from the public timeline. | |
| user_name | No | X handle from x-twitter.connected_accounts, with or without a leading @. Pass user_id or user_name to target a specific account, not both. Omit both to use the default account. | |
| community_id | No | Community id when posting to an X community. | |
| made_with_ai | No | Whether the post contains AI-generated media. | |
| reply_settings | No | Who can reply to the post. | |
| paid_partnership | No | Whether the post is a paid partnership. | |
| reply_to_post_id | Yes | Numeric id of the post to reply to. | |
| share_with_followers | No | Whether to share a community post with followers too. | |
| exclude_reply_user_ids | No | User ids to exclude from the reply mention list. | |
| direct_message_deep_link | No | Deep link that moves the conversation into Direct Messages. | |
| for_super_followers_only | No | Whether the post is exclusive to super followers. | |
| auto_populate_reply_metadata | No | Whether to automatically populate reply metadata. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Reply text returned by the X API. | |
| post_id | No | Numeric id of the reply post. | |
| user_id | No | Numeric X user id of the connected account. | |
| user_name | No | X handle of the connected account. |