twitter_create_tweet
Post a new tweet as your authenticated account. Reply to or quote existing tweets, and receive the tweet ID and URL.
Instructions
Post a new tweet AS your authenticated account. Set reply_to to post a reply, or quote to post a quote-tweet. This publishes publicly and is not silently reversible (use twitter_delete_tweet to remove it). Requires an authenticated session with write capability behind your key. Returns the new tweet_id and url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ct0 | No | Optional. The account's ct0 cookie, paired with auth_token. Sent as the x-ct0 header. | |
| text | Yes | The tweet body text (1 to 280 characters, or longer if the account has extended limits). | |
| quote | No | Optional. Numeric id of the tweet to quote. When set, this tweet quote-tweets that tweet. | |
| account | No | Optional. The @handle (without @) of the authenticated account to act AS, when your key manages more than one session. Omit to use your key's default session. | |
| reply_to | No | Optional. Numeric id of the tweet to reply to. When set, this tweet is posted as a reply in that conversation. | |
| media_ids | No | Optional. Comma-separated media id(s) from a prior media upload to attach (images/video). | |
| proxy_url | No | Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header. | |
| auth_token | No | Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Sent as the x-auth-token header; never placed in the URL. | |
| user_agent | No | Optional. User-Agent string to send for this session. Sent as the x-user-agent header. |