XreplyAIDevelopers
API ReferenceA I Generation

Generate post content in your voice

Requires scope: `ai:generate` and a paid plan. Subject to your plan's daily generation quota.

POST
/posts/generate
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" \  -H "Content-Type: application/json" \  -d '{    "topic": "why solo founders should post daily",    "platform": "twitter",    "angle": "opinion"  }'
{  "body": "Posting daily isn't about volume. It's about staying in the room."}