LedgerLou Docs ist für Desktop optimiert.

Bitte öffne diese Seite auf einem Gerät mit breiterem Bildschirm.

Journal

Inline-Dokumentvorschau

Gibt die Dokument-Binärdatei mit `Content-Disposition: inline` und einem `Content-Security-Policy: frame-ancestors`-Header zurück, damit die Datei im Dashboard-Viewer innerhalb eines iframes gerendert werden kann. Identische mandantengeprüfte Besitz-Prüfung wie beim Download.

GET /v1/documents/:id/preview
Authorization
Authorization string header erforderlich API-Key im Format ll_.... Übergabe als Bearer Token.
Antworten
200
Erfolgreich
400
INVALID_INPUT Pflichtfelder fehlen oder Werte entsprechen nicht dem erwarteten Format.
404
NOT_FOUND Die angeforderte Ressource wurde nicht gefunden.
GET /v1/documents/:id/preview
cURL
-cmd">curl --request -method">GET -punct">\
  --url 'https://api.ledgerlou.de/v1/documents/:id/preview' -punct">\
  --header 'Authorization: Bearer ll_your_key'
200 Response
JSON
Binäre Datei mit `Content-Type` (z. B. `application/pdf`) und `Content-Disposition: inline; filename="originalname.pdf"`.