Skip to main content

Cross-post formatter API

Paste one post and see at once where it fits on X, Threads, Bluesky, Mastodon and LinkedIn. Each network counts with its own rules, and you get a ready thread wherever the post is too long.

  • Endpoint: POST https://postboost.co/app/api/tools/cross-post-formatter (operationId formatCrossPost)
  • Web tool: postboost.co/tools/cross-post-formatter
  • Token: optional (limits)
  • MCP: tool format-cross-post on https://postboost.co/mcp/tools

Request​

FieldTypeDefaultDescription
textstring""The post text, up to 10,000 characters.
networksarray of string["x","threads","bluesky","mastodon","linkedin"]The networks to format for, in the order the result lists them.
numberingbooleanfalseEnd each post of a thread with " k/n".

Call it​

curl -X POST https://postboost.co/app/api/tools/cross-post-formatter \
-H 'Content-Type: application/json' \
-d '{"text":"Our spring menu is live, thanks @alice for the photos: https://example.com/menu","networks":["x","mastodon","linkedin"]}'

With a token, send Authorization: Bearer YOUR_API_TOKEN as a default header (how, per SDK).

Response​

{
"networks": [
{
"key": "x",
"label": "X (Twitter) post",
"limit": 280,
"count": 78,
"fits": true,
"over_by": 0,
"links": 1,
"warnings": [
{
"code": "mentions_not_portable",
"message": "@handles are per network: check each one exists on X (Twitter)."
}
],
"thread": null
},
{
"key": "mastodon",
"label": "Mastodon post",
"limit": 500,
"count": 78,
"fits": true,
"over_by": 0,
"links": 1,
"warnings": [
{
"code": "mentions_not_portable",
"message": "@handles are per network: check each one exists on Mastodon. Use @user@server for people on other servers."
}
],
"thread": null
},
{
"key": "linkedin",
"label": "LinkedIn post",
"limit": 3000,
"count": 79,
"fits": true,
"over_by": 0,
"links": 1,
"warnings": [
{
"code": "mentions_not_portable",
"message": "@handles are per network: check each one exists on LinkedIn."
}
],
"thread": null
}
]
}

With MCP​

Connect https://postboost.co/mcp/tools (setup) and ask, for example: Format one post for X, Threads, Bluesky, Mastodon and LinkedIn with the PostBoost format-cross-post tool.

Errors​

StatusWhen
401The Authorization header holds an invalid token. Leave it out to call as a guest.
413The JSON body is larger than 128 KB.
422A field is invalid; the body lists the errors per field.
429A limit is reached; see limits.