/api/public/config/:chatbotIdReturns public chatbot/widget configuration for approved website usage.
Use the hosted widget for browser integrations and server routes for secure automation around chat, config, and WhatsApp webhooks.
Base URL
https://replysuite.app
These are the public-facing routes used by the hosted widget and WhatsApp webhook flow.
/api/public/config/:chatbotIdReturns public chatbot/widget configuration for approved website usage.
/api/public/chatSends a website chat message to a public chatbot and records the conversation.
/api/whatsapp/webhookMeta webhook verification challenge endpoint.
/api/whatsapp/webhookReceives WhatsApp Business messages, records inbound messages, and dispatches assistant replies.
The easiest integration path is the hosted widget script. Configure allowed domains in ReplySuite before installing it on production websites.
<script src="https://replysuite.app/embed.js" data-chatbot-id="YOUR_CHATBOT_ID" async></script>POST /api/public/chat
Content-Type: application/json
{
"chatbotId": "YOUR_CHATBOT_ID",
"message": "What are your opening hours?",
"sessionId": "optional-existing-session-id",
"metadata": {
"pageUrl": "https://example.com/pricing"
}
}{
"reply": "We are open Monday to Friday from 9:00 AM to 5:00 PM.",
"sessionId": "chat-session-id",
"sources": []
}GET /api/public/config/YOUR_CHATBOT_IDUse this route only for public widget configuration. Private automation should use authenticated server-side routes.
Meta sends webhook payloads to ReplySuite. The app verifies signatures when configured, records inbound messages first, then generates and sends assistant replies.
POST /api/whatsapp/webhook
X-Hub-Signature-256: sha256=...
{
"object": "whatsapp_business_account",
"entry": [
{
"changes": [
{
"field": "messages",
"value": {
"metadata": { "phone_number_id": "..." },
"messages": [{ "type": "text", "text": { "body": "Hello" } }]
}
}
]
}
]
}ReplySuite public integrations are designed so browser code uses only public chatbot identifiers and hosted scripts.
Read the guidance docs for the recommended dashboard workflow before wiring custom integrations.
Open guidance