PublicChatwootController
Unauthenticated live-chat config for the marketing site.
| Base path | /api/public/chatwoot |
| Module | Billing & Platform |
| Endpoints | 1 |
| OpenAPI tag | Chatwoot |
| Source | backend/src/main/java/com/motorph/payroll/controller/PublicChatwootController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
GET | /api/public/chatwoot | Public — no authentication | getConfig() |
Notes
GET /api/public/chatwoot— 200 {baseUrl, websiteToken} when configured; 204 = widget disabled (the feature probe).
Call chain
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: ChatwootProperties.
Tables reached
None through a Spring Data repository — this controller is stateless, or its work is delegated to a component that reaches storage another way.
Generated page
This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.