XreplyAIDevelopers
API ReferenceA I Generation

Generate a LinkedIn carousel

Requires scope: `ai:generate` and a paid plan. Generates a slide-based carousel document for LinkedIn. A connected LinkedIn account is required. Shares a 6/min rate-limit bucket with the batch and thread generators.

POST
/posts/generate_carousel
AuthorizationBearer <token>

A personal API key created in the dashboard (Starter, Pro, and Team plans).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/posts/generate_carousel" \  -H "Content-Type: application/json" \  -d '{    "topic": "5 signs your onboarding is broken",    "slide_count": 6,    "theme": "dark",    "cta_text": "Follow for more"  }'
{  "slides": [    {      "title": "Slide 1",      "body": "Your users churn in week one."    }  ],  "document_urn": "urn:li:document:abc123",  "title": "5 signs your onboarding is broken",  "caption": "Most onboarding dies in the first session."}