XreplyAIDevelopers
API ReferenceA I Generation

Generate a batch of post ideas

Requires scope: `ai:generate` and a paid plan. Generates several standalone posts for a category. Shares a 6/min rate-limit bucket with the thread and carousel generators.

POST
/posts/generate_batch
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_batch" \  -H "Content-Type: application/json" \  -d '{    "category": "personalized",    "count": 6,    "platform": "twitter"  }'
{  "posts": [    "Idea one.",    "Idea two.",    "Idea three."  ],  "degraded_count": 0}