REST-API til professionelle

Også til dine andre programmer.

DocUnderstand har et lokalt REST-API indbygget. FileMaker, Xojo, scripts eller egne værktøjer sender et dokument via HTTP og får filnavn, Finder-mærker og strukturerede data tilbage.

Terminal / scripts FileMaker Xojo
Terminal FileMaker · Scripttrin Xojo · URLConnection
curl -X POST http://localhost:8787/process \  -H "Authorization: Bearer ••••••••" \  -H "Content-Type: application/json" \  -d '{"filename":"Faktura.pdf", ...}'
// Kod foto.jpg som Base64Set Variable [ $data ; Base64EncodeRFC(...) ]Insert from URL [ $response ;  "http://localhost:8787/process" ]
' Kod Kontrakt.pdf som Base64Var req As New URLConnectionreq.SetRequestContent(json, "application/json")Var antwort As String = req.SendSync("POST", _  "http://localhost:8787/process")
DocUnderstand App-Icon
DocUnderstand
localhost:8787 · 100 % lokalt på din Mac
OCR & analyse …
Svar · JSON
{  "filename": "2026-08-10 T-Mobile…pdf",  "documentType": "Faktura",  "tags": ["Faktura", "Mobil"],  "text": "Din faktura for august 2026 …",  "extraction": {    "invoiceNumber": "RG-2026-081045",    "grossAmount": 99.00  }}
{  "filename": "2026-07-14 Ferie strand.jpg",  "documentType": "Foto",  "tags": ["Foto", "Ferie"],  "exif": {    "camera": "iPhone 16 Pro",    "dateTaken": "2026-07-14 16:32",    "gpsLocation": "43.71° N, 7.26° E"  }}
{  "filename": "2026-03-01 Acme Lejekontrakt.pdf",  "documentType": "Kontrakt",  "tags": ["Kontrakt", "Leje"],  "text": "Lejekontrakt mellem Acme GmbH …",  "extraction": {    "customerNumber": "K-88213",    "servicePeriod": "fra 2026-03-01"  }}