Create tweet
create_tweetCreate or reply to tweets with text, media, scheduling, and community support using cookie-based authentication.
Instructions
Create or reply to a tweet via the v2 endpoint. Uses login_cookies built from the account's auth_token/ct0 env vars (requires TWITTERAPI_IO_AUTH_TOKEN, TWITTERAPI_IO_CT0, TWITTERAPI_IO_PROXY).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_ids | No | Media IDs from prior /twitter/upload_media_v2 | |
| tweet_text | Yes | The text content of the tweet | |
| community_id | No | Post inside a specific community | |
| schedule_for | No | ISO-8601 future time e.g. 2026-01-20T10:00:00.000Z | |
| is_note_tweet | No | Allow >280 chars (Premium accounts) | |
| attachment_url | No | URL for quote (alternative to quote_tweet_id) | |
| quote_tweet_id | No | Tweet ID to quote | |
| reply_to_tweet_id | No | Tweet ID to reply to (makes this a reply) |