XreplyAIDevelopers
API ReferenceA I Generation

Generate a reply to a post in your voice

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

POST
/replies/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/replies/generate" \  -H "Content-Type: application/json" \  -d '{    "tweet": {      "text": "Shipping beats planning.",      "author": "somefounder"    }  }'
{  "generation_id": 0,  "reply": {    "text": "string"  },  "context": {}}