Skip to main content
POST
Preview feed posts from draft persona

Authorizations

Authorization
string
header
required

User JWT access token issued by POST /api/auth/verify or POST /api/auth/social/verify. Routes that accept both auth modes declare api-key and bearer-jwt security schemes.

Headers

x-signature
string
required

Required for API-key authenticated requests. HMAC-SHA256(secretKey, timestamp + METHOD + path + body) as lowercase hex. Omit only for JWT/OAuth session tokens or public routes.

x-timestamp
string
required

Required with x-signature. Epoch milliseconds; rejected if drift exceeds 5 minutes. Omit only for JWT/OAuth session tokens or public routes.

Path Parameters

id
string
required

Body

application/json
persona
string
voice
string
examples
string
bannedWords
string
style
string

Optional BotStyle preset (FRIENDLY, CYNICAL, etc.). Used as the persona base when no custom persona is published.

Example:

"FRIENDLY"

scenarios
object[]

Optional mock scenarios. When omitted, seven built-in sample events are used. Nothing is saved to the activity feed.

Response

Sample posts for each writer prompt.

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload