Chatbot Messages

Generate Email Reply

Generate an AI draft reply for an email thread using the chatbot's knowledge base. No authentication required — the chatbot UUID in the URL is the only identifier.

post/chatbots/{chatbot_id}/reply

Request

  • Base URL
    https://app.boei.help/api/v1
  • Auth
    none required

Request body

subjectstring required

The email thread subject.

Example request

{
  "subject": "Question about pricing",
  "messages": [
    {
      "from": "john@example.com",
      "body": "What are your prices?",
      "delivered_at": "2026-01-29T10:00:00Z"
    }
  ]
}

Response

message_idstring
replystring
created_atstring

Example response

{
  "message_id": "reply_679a1b2c3d4e5",
  "reply": "Hi John,\n\nOur pricing starts at $99/month for the Basic plan...",
  "sources": [
    {
      "title": "Pricing Page",
      "url": "https://example.com/pricing",
      "type": "webpage"
    }
  ],
  "usage": {
    "credits_used": 1,
    "monthly_remaining": 9500,
    "monthly_limit": 10000
  },
  "created_at": "2026-01-29T10:30:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.