POST
/
api
/
bot-accounts
/
conversations
/
:id
/
generate-reply
Generate Reply
curl --request POST \
  --url https://api.example.com/api/bot-accounts/conversations/:id/generate-reply

Path Parameters

ParameterDescription
idConversation ID

Request Body (optional)

{
  "tone": "witty_humorous",
  "customPrompt": "Mention our product naturally"
}
FieldTypeDescription
tonestringOverride the default reply tone
customPromptstringCustom instructions for this reply

Response

{
  "conversation": {
    "id": "conv-abc12345",
    "status": "reply_generated",
    "messages": [
      { "type": "original_tweet", "content": "..." },
      { "type": "bot_reply", "content": "Generated reply text here" }
    ]
  }
}
The reply is automatically cleaned: max 220 characters, no URLs/hashtags/markdown, max 2 emojis.