x_post_create
Create an X post with text, media, poll, or quote; reply to other posts and control reply permissions, then receive the post URL.
Instructions
X (Twitter): create a post — text, optional reply_to_id, quote_id, media_ids[], poll {options[], duration_minutes}, reply_settings. Returns id + URL. Note: a URL in the text raises the per-post cost to $0.20. (disabled by policy read-only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poll | No | Attach a poll. Mutually exclusive with media_ids. | |
| text | Yes | The post text, sent byte-identical (no normalization or trimming). Note: a URL in the text raises the per-post cost to $0.20. | |
| quote_id | No | Post this quotes: a numeric post id or a full status URL. | |
| media_ids | No | Previously uploaded media ids, max 4. X allows up to 4 images OR a single video/GIF; media types are not knowable from bare ids, so the platform enforces the one-video rule. Mutually exclusive with poll. | |
| reply_to_id | No | Post this replies to: a numeric post id or a full status URL. | |
| reply_settings | No | Who may reply. Omit to allow everyone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes | ||
| summary | No |