GET/api/public/legal/:slug

Returns a single legal text as HTML.

Auth & Security

No authentication required

Idempotent: Yes

Parameters

slug(path, string, required)'impressum' | 'datenschutz' | '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_UNKNOWNUnknown legal slug.

Live Test Proof

Success (200, real content) and negative case (404) verified live against production.

Public Content