---
title: "Post to X from Codex"
description: "Ask Codex for an X launch thread, a demo clip or a Community post. Connecting X unlocks when your paid plan starts, and posts to X use AI credits."
canonical_url: "https://postqueen.ai/codex/x"
markdown_url: "https://postqueen.ai/codex/x.md"
last_updated: "2026-10-20"
llms_txt: "https://postqueen.ai/llms.txt"
---

# Post to X from Codex.

Codex + X

Ask Codex for a launch thread, a demo clip or a post in an X Community, and PostQueen publishes every part on X. The X channel opens up on a paid plan, and every post sent there draws on AI credits.

[Start 7-day trial for $0](https://app.postqueen.ai/auth?utm_source=postqueen.ai&utm_medium=landing&utm_campaign=trial&utm_content=agent-channel-hero) [How it works](https://postqueen.ai/codex/x#how)

Every post waits on your calendar first.

How it works

## Three steps, then just ask.

1

### Connect X in PostQueen

Sign in on x.com to the account you want, then pick X in Add Channel. Still in the 7-day trial? The X connect step lets you end it early.

2

### Keep the key out of config.toml

Run codex mcp add postqueen with the plain MCP address and --bearer-token-env-var POSTQUEEN_API_KEY, so Codex reads the key from your environment when it starts.

3

### Ask for the thread

Give Codex the hook, how many parts and the gap between them. PostQueen checks every part against 280 characters, or 25,000 on a Verified channel.

[The full Codex setup](https://postqueen.ai/codex#setup) [Everything about X](https://postqueen.ai/channels/x)

What you can publish

## Post types on X.

- Supported Text post 280 characters, or 25,000 on channels marked Verified
- Supported Images and GIFs Up to 4 pictures or 1 GIF, resized to 1,000 px wide
- Supported Video One MP4, alone in the post
- Supported Thread Each part replies to the one before, with its own media and delay
- Supported Community post Paste the community link; your followers see it too
- Supported Article Draft or publish long-form Articles with X Premium
- Supported AI and paid partnership labels Label a post as made with AI or as a paid partnership
- Not supported Polls and quote posts Not available

Limits at a glance

## X limits.

|  |  |  |
| --- | --- | --- |
| Post text | 280, or 25,000 on Verified channels; a link counts as 23 characters | [Official docs](https://docs.x.com/fundamentals/counting-characters) |
| Media per post | 4 pictures, or 1 GIF, or 1 video; no mixing | [Official docs](https://docs.x.com/x-api/posts/create-post) |
| Image file | Up to 5 MB after resizing; animated GIFs up to 15 MB | [Official docs](https://docs.x.com/x-api/media/quickstart/best-practices) |
| Video | MP4 up to 1 GB; length depends on your X account | [Official docs](https://docs.x.com/x-api/media/introduction) |
| Posts per day | 50 posts and 200 replies a day for unverified accounts | [Official docs](https://help.x.com/en/rules-and-policies/x-limits) |
| Cashtags | 1 cashtag per post | [Official docs](https://docs.x.com/x-api/posts/manage-tweets/integrate) |
| Article text | Up to 100,000 characters, images only |  |

From each network’s documentation and PostQueen’s own checks.

What to ask

## Ask Codex for the post.

- Write a 5-part X launch thread for Tuesday at 4pm UTC, one part every 15 minutes, with our demo GIF on the first part.
- Post the demo clip at this link to X on Thursday at 6pm and let only the accounts I mention reply.
- Put our launch announcement in the X Community this link points to, Friday at 10am, written for members and followers alike.

### Good to know

- X Premium on the connected account is needed for Articles, posts past 280 characters and replies kept to subscribers or verified accounts.
- Whichever X profile is logged in on x.com at that moment is the one PostQueen links, so switch to your app’s profile there before authorizing.
- Media can’t be mixed in an X post: four pictures at most, or one GIF, or one video. A link always counts as 23 characters.
- Polls and quote posts aren’t available on X here; Codex can still prepare threads, Community posts and Articles.

## Codex and X, answered.

Anything else? Write to [support@postqueen.ai](mailto:support@postqueen.ai) and a person answers.

### Can I use Codex with X during the free trial?

Not until X is connected, which waits for your paid plan. If you don’t want to wait, finish the trial early when you connect X, and Codex can use it right away.

### Do posts Codex writes for X use AI credits?

Yes. Every post to X uses AI credits, while posts to other networks are unlimited on every plan.

### Can Codex write X Articles?

Yes, when the account has X Premium. Codex sets the title and an optional cover, and PostQueen saves the Article to your X drafts or publishes it. Articles take as many as 100,000 characters, and pictures are the only media allowed.

### How does a thread from Codex go out on X?

Every part replies to the previous one, and each can carry separate media and its own delay. PostQueen checks the length and media of every part before scheduling.

Keep going

## More ways to post.

### Codex on other networks

- [Instagram Post from Codex](https://postqueen.ai/codex/instagram)
- [TikTok Post from Codex](https://postqueen.ai/codex/tiktok)
- [LinkedIn Post from Codex](https://postqueen.ai/codex/linkedin)
- [Facebook Post from Codex](https://postqueen.ai/codex/facebook)
- [YouTube Post from Codex](https://postqueen.ai/codex/youtube)
- [Threads Post from Codex](https://postqueen.ai/codex/threads)
- [Pinterest Post from Codex](https://postqueen.ai/codex/pinterest)

### Other agents on X

- [ChatGPT Post to X](https://postqueen.ai/chatgpt/x)
- [Claude Post to X](https://postqueen.ai/claude/x)
- [Claude Code Post to X](https://postqueen.ai/claude-code/x)
- [OpenClaw Post to X](https://postqueen.ai/openclaw/x)

### Hand your socials to Codex.

Get your time back. Every post still lands on your calendar first.

[Start 7-day trial for $0](https://app.postqueen.ai/auth?utm_source=postqueen.ai&utm_medium=landing&utm_campaign=trial&utm_content=agent-channel-band) $0 due today. Cancel in one click.
