---
title: "Suggest Prompt"
method: POST
path: "/api/livechat/suggest-prompt"
tags: ["livechat", "livechat"]
---

# Suggest Prompt

`POST /api/livechat/suggest-prompt`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/livechat/suggest-prompt`
- Auth: none declared

Scrape a website and draft a LiveChat assistant prompt.

Always returns 200 with a non-empty prompt — falls back to a generic
template on scrape failure or LLM error so the wizard's Continue button
never blocks. Rate-limited per user.

## Request body

- SuggestPromptRequest: Body for /suggest-prompt — scrapes a site and asks Claude to draft a LiveChat assistant prompt the user can edit in the wizard.
  - `website_url` string, required
  - `business_name` string, nullable
  - `industry` string, nullable

## Response `200`

Successful Response

- SuggestPromptResponse
  - `prompt` string, required
  - `site_info` object, required
  - `rate_limited` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
