GET/api/public/legal/:slug
Returns a single legal text as HTML.
Select the text with the path parameter `slug`: `impressum`, `datenschutz` or `agb`. The response contains `body_html`, `updated_at` and `version`. Any other value for `slug` is answered with 404 `LEGAL_SLUG_UNKNOWN`. All legal texts together are returned by `GET /api/public/legal`.
Overview
Call: GET /api/public/legal/:slug. This endpoint belongs to the “Public Content” group of the Zentor App API. It is publicly accessible and requires no authentication. The call is idempotent: repeating it with the same input returns the same result. Required parameters: slug (path). Documented error cases: 404 LEGAL_SLUG_UNKNOWN. The example response below shows the structure of a successful JSON response.
Auth & Security
No authentication required
Idempotent: Yes
Parameters
slug(path, string, required)— `impressum`, `datenschutz` or `agb`Example Response
{"ok":true,"data":{"body_html":"<h2>Angaben gemäß § 5 DDG</h2>...","updated_at":"2026-07-19T...","version":5}}Error Codes
404 LEGAL_SLUG_UNKNOWN — The slug does not refer to a known legal text.Verified behaviour
A valid slug returns 200 with the legal text; an unknown slug returns 404 `LEGAL_SLUG_UNKNOWN`.
Public Content
GET /api/public/legalReturns all published legal texts (legal notice, privacy policy, terms and conditions) in one response.GET /api/public/marketingReturns all published, editorially maintained marketing pages in one response.GET /api/public/marketing/:slugReturns a single editorially maintained marketing page as HTML.GET /api/public/text-colorsReturns the globally configured text colours of the Zentor App website.GET /api/public/themeReturns the currently active global theme level of the Zentor App website.