Skip to main content

LinkedIn carousel maker API

Paste a post or an outline, pick a size, theme and accent colour, and download the slides as one PDF ready for a LinkedIn document post. No watermark, no sign-up, and your text never leaves your browser.

  • Endpoint: POST https://postboost.co/app/api/tools/linkedin-carousel-maker (operationId buildLinkedinCarousel)
  • Web tool: postboost.co/tools/linkedin-carousel-maker
  • Token: optional (limits)
  • MCP: tool build-linkedin-carousel on https://postboost.co/mcp/tools

Request​

FieldTypeDefaultDescription
textstringThe post or outline. Blank lines separate slides; a first line starting with # (or a short first line without closing punctuation that is not a list item) is the slide heading; - * • lines become bullets.
max_slidesinteger10Most slides to return, 3 to 20. The cover and the CTA slide are always kept.
sizestring: 4:5, 1:1"4:5"Slide shape: 4:5 (1080 × 1350) or 1:1 (1080 × 1080). Every page of a LinkedIn document has the same size.
coverbooleantrueStart with a cover slide: the first heading, or the first line of the text.
ctastringText of a closing call-to-action slide.

Call it​

curl -X POST https://postboost.co/app/api/tools/linkedin-carousel-maker \
-H 'Content-Type: application/json' \
-d '{"text":"# 5 hooks that work\n\nOne.\n\nTwo"}'

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

Response​

{
"page": {
"width": 1080,
"height": 1350
},
"slides": [
{
"n": 1,
"kind": "cover",
"heading": "5 hooks that work",
"body": []
},
{
"n": 2,
"kind": "content",
"heading": null,
"body": [
"One."
]
},
{
"n": 3,
"kind": "content",
"heading": null,
"body": [
"Two"
]
}
],
"warnings": [],
"limits": {
"max_slides": 20,
"heading_max": 80,
"body_max": 280,
"linkedin_max_pages": 300,
"linkedin_max_mb": 100
}
}

With MCP​

Connect https://postboost.co/mcp/tools (setup) and ask, for example: Turn text into LinkedIn carousel (PDF document) slides with the PostBoost build-linkedin-carousel 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.