Reply to X post

Reply to a post from a connected X account.

← All X / Twitter endpoints · Capability overview

POST/v1/x-twitter/posts/reply

https://api.vee3.io/v1/x-twitter/posts/reply

60 tokens

Reply to a post from a connected X account.

Authorization

Send your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

MCP

The same capability is available as an MCP tool on Vee3 hosted MCP.

Tool name

x-twitter.reply_to_post
Parameters17 fields
user_idstringOptional

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.

user_namestringOptional

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.

reply_to_post_idstringRequired

Numeric id of the post to reply to.

auto_populate_reply_metadatabooleanOptional

Whether to automatically populate reply metadata.

Default: true

exclude_reply_user_idsarrayOptional

User ids to exclude from the reply mention list.

textstringOptional

Reply text content. At least one of text, poll, media, or card_uri is required.

max length 25000

pollobjectOptional

Poll object with options (2-4 strings) and duration_minutes (5-10080). Mutually exclusive with media and card_uri.

mediaarrayOptional

File names from meta-tools.list_uploaded_files to attach (up to 4).

min 1, max 4

reply_settings"following" | "mentionedUsers" | "subscribers" | "verified"Optional

Who can reply to the post.

paid_partnershipbooleanOptional

Whether the post is a paid partnership.

made_with_aibooleanOptional

Whether the post contains AI-generated media.

for_super_followers_onlybooleanOptional

Whether the post is exclusive to super followers.

Default: false

nullcastbooleanOptional

Whether the post is promoted-only and hidden from the public timeline.

Default: false

card_uristringOptional

Card URI for the post. Mutually exclusive with poll and media.

community_idstringOptional

Community id when posting to an X community.

direct_message_deep_linkstringOptional

Deep link that moves the conversation into Direct Messages.

share_with_followersbooleanOptional

Whether to share a community post with followers too.

Default: false

Response4 fields
post_idstring

Numeric id of the reply post.

textstring

Reply text returned by the X API.

user_idstring

Numeric X user id of the connected account.

user_namestring

X handle of the connected account.

HTTP errors: unauthorized, validation_error, insufficient_tokens, payment_required, x_connection_required, x_connection_not_found, x_connection_refresh_failed, x_connection_scopes_insufficient, x_twitter_write_unauthorized, x_twitter_write_rate_limited, x_twitter_write_upstream_error, uploaded_file_not_found, uploaded_file_not_supported_for_x_media