Post to X (Twitter) via API

Publish to X (Twitter) from an AI agent, a CI pipeline, or any app — one call through the Socifyr MCP server, REST API, CLI, or TypeScript SDK. Connect X (Twitter) once, hand your agent a key, and it never sees your X (Twitter) tokens.

X (Twitter) API limits & specs

Caption limit280 characters
Posts per 24 hours50
Images per post4
Carousel itemsup to 4
Max video size1,024 MB
Max video length240 min
Image formatsJPG, PNG, GIF, WEBP

Socifyr enforces these limits for you and returns a plain-language reason when a platform rejects a post. Specs reflect X (Twitter)’s published API as of November 2026.

Post to X (Twitter) in one call

curl -X POST https://api.socifyr.com/api/content/text \
  -H "Authorization: Bearer sk_your_key" \
  -H "X-Workspace-Id: ws_abc123" \
  -H "Content-Type: application/json" \
  -d '{ "connections": ["x-mybrand"], "text": "Hello, X (Twitter)!" }'

Prefer an agent? Add the Socifyr MCP server and ask it to “post this to X (Twitter).” Prefer code? The same request works from the CLI (socifyr post) and the TypeScript SDK.

Post to other platforms

Publish to X (Twitter) in five minutes

Hand your agent one key and publish across 18 platforms. Flat pricing from $9.99, no card to start.