#Connect my OpenClaw to a Chat Web widget?
1 messages · Page 1 of 1 (latest)
Yep, possible.
Short version:
-
Built-in web chat
- OpenClaw already has a browser chat surface via the Control UI chat tab / WebChat.
- Docs: https://docs.openclaw.ai/web/webchat
-
Third-party web widget / chat frontend
- Enable the Gateway’s OpenAI-compatible HTTP API and point your widget/frontend at it.
- Docs: https://docs.openclaw.ai/gateway/openai-http-api
- Also supports Responses API: https://docs.openclaw.ai/gateway/openresponses-http-api
Example config:
{
gateway: {
http: {
endpoints: {
chatCompletions: { enabled: true },
responses: { enabled: true },
},
},
},
}
Then your frontend can call:
POST /v1/chat/completionsPOST /v1/responses