Skip to main content

LinkedIn post formatter API

LinkedIn has no bold or italic button for posts. Select words, pick a style and copy a post with bold and italic text, clean lists and kept line breaks, and see roughly where the feed cuts it with see more.

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

Request​

FieldTypeDefaultDescription
textstring
stylestring: bold, italic, bold_italic, sans_bold, sans_italic, script, bold_script, fraktur, double_struck, monospace, small_caps, circled, squared, upside_down, strikethroughUnicode style for the whole text, e.g. bold.
liststring: bullet, numberedPrefix every non-empty line with "• " or "1. ", "2. " (plain digits).

Call it​

curl -X POST https://postboost.co/app/api/tools/linkedin-post-formatter \
-H 'Content-Type: application/json' \
-d '{"text":"Three tips\nPlan ahead\nReuse posts","list":"numbered"}'

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

Response​

{
"text": "1. Three tips\n2. Plan ahead\n3. Reuse posts",
"count": 42,
"limit": 3000,
"preview": "1. Three tips\n2. Plan ahead\n3. Reuse posts",
"folded": false
}

With MCP​

Connect https://postboost.co/mcp/tools (setup) and ask, for example: Format a LinkedIn post with bold, italic and lists with the PostBoost format-linked-in-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.