Any HTTP endpoint
BotChap connects your website chat widget to any HTTP endpoint. Configure the method (POST or GET), custom request headers, a body template with message and session tokens, and a dot-notation path to extract the reply from the response.
Use this integration when you have your own chat platform, in-house assistant, or any SaaS backend that accepts HTTP requests. This is the most flexible integration — it works with any API that can return a chat reply in JSON.
BotChap renders your body template with the visitor's message and session ID:
Template: {"message":"{{message}}","sessionId":"{{sessionId}}"}
Rendered: {"message":"I need help choosing a plan","sessionId":"bc_7f3a9d"}
Both {{message}} and {{sessionId}} are supported as template tokens.POST https://your-api.com/chat
Authorization: Bearer <your-api-key>
X-Custom-Header: value
Content-Type: application/json
{
"message": "I need help choosing a plan",
"sessionId": "bc_7f3a9d"
}{
"data": {
"reply": "I can help. Do you want a widget for n8n, OpenAI, or a custom backend?"
}
}
# Set Response Path to: data.replyCreate a free widget, configure the integration, and embed it on your site in minutes.