BetaThe v2 API is in beta — fields and behavior may change without notice. For stable production usage, see the API v1 Reference.

Chatbots

Update chatbot settings

Everything except identity and training content — model, system prompt, theme, lead-form fields, rate limits, visibility.

Endpoint

text
POST https://services.chatmount.co/v2/chatbots/settings

Request body

json
{
  "chatbotId": "agent_abc123",
  "name": "Customer Support Bot",
  "instructions": "Provide helpful customer service responses",
  "initialMessages": ["Welcome! How can we assist?"],
  "model": "gpt-5.4-mini",
  "temp": 0.7,
  "visibility": "public",
  "styles": {
    "theme": "light",
    "buttonColor": "#007bff"
  }
}

Patchable areas:

  • Identity — name, instructions
  • UX — initialMessages, suggestedQueries, placeholder
  • Access — visibility, allowedDomains
  • Rate limiting — IP-based limits with custom timeframes
  • AI — model, temp (0–1)
  • UI — styles, button colours, alignment, message colours
  • Auto-open — delay before the chat opens automatically
  • Lead form — toggle name/email/phone fields, custom labels

Response

json
{
  "message": "Your changes are saved."
}

Status: 202 Accepted.

Related