Auto-reply Bot
Configure the AI auto-reply bot.
Manage the AI auto-reply bot that answers customer messages 24/7. Configure the system prompt, memory length, toggle it on or off, check delivery metrics, and set up follow-up messages. The AI model and PDF knowledge base are managed through the ChatVerse dashboard.
The AI model is managed by ChatVerse. PDF knowledge base is managed through the dashboard.
Copy this section as context for your AI coding agent
curl -X GET 'https://api.chatverse.io/v1/whatsapp/bot' \
-H 'Authorization: Bearer YOUR_API_KEY'Response · 200
json
{
"success": true,
"data": {
"configured": true,
"active": true,
"system_prompt": "You are the support assistant for Acme.",
"memory_length": 10
}
}curl -X PUT 'https://api.chatverse.io/v1/whatsapp/bot' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"system_prompt": "You are the support assistant for Acme.",
"memory_length": 10,
"active": true
}'Response · 200
json
{
"success": true,
"data": {
"configured": true,
"active": true,
"system_prompt": "You are the support assistant for Acme.",
"memory_length": 10
}
}curl -X GET 'https://api.chatverse.io/v1/whatsapp/bot/metrics' \
-H 'Authorization: Bearer YOUR_API_KEY'Response · 200
json
{
"success": true,
"data": {
"unique_users": 42,
"llm_tokens_used": 18230,
"messages_sent": 130,
"messages_delivered": 120,
"messages_read": 80,
"messages_failed": 3
}
}curl -X GET 'https://api.chatverse.io/v1/whatsapp/bot/followups' \
-H 'Authorization: Bearer YOUR_API_KEY'Response · 200
json
{
"success": true,
"data": {
"enabled": true,
"delay_minutes": 60,
"text": "Just checking in…",
"customers_opted_in": true,
"mode": "static",
"counts": {
"queued": 3,
"sent": 10,
"cancelled": 2
}
}
}counts has one key per follow-up status that has messages: queued, sending, sent, delivered, read, failed, cancelled or skipped.
curl -X PUT 'https://api.chatverse.io/v1/whatsapp/bot/followups' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"enabled": true,
"delay_minutes": 60,
"text": "Still need help? Just reply here.",
"customers_opted_in": true
}'Response · 200
json
{
"success": true,
"data": {
"enabled": true,
"delay_minutes": 60,
"text": "Still need help? Just reply here.",
"customers_opted_in": true
}
}delay_minutes must be 5 to 1320. Turning follow-ups on needs customers_opted_in: true. Configure the bot first (PUT /v1/whatsapp/bot), else 404 BOT_NOT_CONFIGURED.