Post to X from one API.
Publish to X from your app with one REST call, or let your AI agent do it over MCP. SocialHelper checks every post against X’s limits before it goes out.
What you can post
X limits.
These are the limits the API enforces for X, read straight from the code. Every post is checked against them before anything is sent.
- Text
- 280 weighted characters (links and some characters count more)
- Images
- Up to 4 per post · JPEG, PNG, WEBP, GIF · 5 MB each
- Video
- Up to 1 per post · MP4, MOV · 1,024 MB
- Images and video together
- Not in the same post
Post with one request
Your first X post.
Send the text and the account ID. Add an Idempotency-Key so a retried request never posts twice. The response lists each account with its own status and, once it’s live, the post’s URL.
curl https://socialhelper.app/api/v1/posts \
-H "Authorization: Bearer $SOCIALHELPER_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"text": "Fresh out of the oven: our cinnamon rolls are back for autumn 🍂 Get them warm from 7am, while they last.",
"accounts": [
"ACCOUNT_ID"
]
}'
const response = await fetch("https://socialhelper.app/api/v1/posts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SOCIALHELPER_API_KEY}`,
"Content-Type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({
"text": "Fresh out of the oven: our cinnamon rolls are back for autumn 🍂 Get them warm from 7am, while they last.",
"accounts": [
"ACCOUNT_ID"
]
}),
});
const { data: post } = await response.json();
console.log(post.status, post.targets);
import os, uuid, requests
response = requests.post(
"https://socialhelper.app/api/v1/posts",
headers={
"Authorization": f"Bearer {os.environ['SOCIALHELPER_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"text": "Fresh out of the oven: our cinnamon rolls are back for autumn 🍂 Get them warm from 7am, while they last.",
"accounts": ["ACCOUNT_ID"],
},
)
post = response.json()["data"]
print(post["status"], post["targets"])
Connect
Connect X once.
Open Accounts in the SocialHelper dashboard and choose X. You sign in on X’s own screen and approve access; SocialHelper stores the connection encrypted. You don’t need a X developer app of your own.
-
1
Open Accounts
In the dashboard, choose X.
-
2
Sign in on X
Approve access on X’s own screen.
-
3
Use the account ID
GET /api/v1/accounts lists the account with its ID, whether it can publish, and its tools.
SocialHelper calls X’s official API for you. X API reference ↗
FAQ
X questions.
How long can a X post be?
280, counted the way X counts it. SocialHelper checks the length before posting, and if it doesn’t fit nothing is sent.
Can I post images or video to X?
Up to 4 images per post. Up to 1 video per post.
Do I need my own X developer app?
No. You connect with a normal X sign-in through SocialHelper’s own app.
Can my AI agent use X?
Yes. Connect the SocialHelper MCP server at https://socialhelper.app/mcp and your agent can post to X, after confirming the text with you.
How much does it cost?
SocialHelper is free during early access, X included.
More platforms
Same key, every account.
Post to your Facebook Pages.
posts 7 tools
Publish photos and reels to Instagram.
posts 3 tools
YouTube
Upload videos and read channel stats.
posts 6 tools
TikTok
Publish videos to TikTok.
posts 3 tools
Share posts from your LinkedIn profile.
posts
Create Pins on your boards.
posts 1 tool
Threads
Post to your Threads profile.
posts 4 tools
Telegram
Post to channels and groups through your bot.
posts
Ship your X integration today.
SocialHelper is invite-only during early access. Join the waitlist: the first 100 people to sign up get a Founding account with higher limits, free for 12 months.