x-twitter.repost_post
Repost a post for 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.
Returns the reposted post_id and retweeted status.
Cost = 75 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | Numeric id of the post to repost. | |
| 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. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | No | Numeric id of the reposted post. | |
| user_id | No | Numeric X user id of the connected account. | |
| retweeted | No | Whether the post was reposted. | |
| user_name | No | X handle of the connected account. |