API REST para profissionais

Também para as suas outras aplicações.

O DocUnderstand inclui uma API REST local. FileMaker, Xojo, scripts ou as suas próprias ferramentas podem enviar um documento por HTTP e receber de volta o nome do ficheiro, as etiquetas do Finder e os dados estruturados.

Terminal / Scripts FileMaker Xojo
Terminal FileMaker · Passos de script Xojo · URLConnection
curl -X POST http://localhost:8787/process \  -H "Authorization: Bearer ••••••••" \  -H "Content-Type: application/json" \  -d '{"filename":"Fatura.pdf", ...}'
// Codificar foto.jpg em Base64Set Variable [ $data ; Base64EncodeRFC(...) ]Insert from URL [ $response ;  "http://localhost:8787/process" ]
' Codificar Contrato.pdf em 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% local no seu Mac
OCR e análise …
Resposta · JSON
{  "filename": "2026-08-10 T-Mobile…pdf",  "documentType": "Fatura",  "tags": ["Fatura", "Telemóvel"],  "text": "A sua fatura de agosto de 2026 …",  "extraction": {    "invoiceNumber": "RG-2026-081045",    "grossAmount": 99.00  }}
{  "filename": "2026-07-14 Férias na praia.jpg",  "documentType": "Foto",  "tags": ["Foto", "Férias"],  "exif": {    "camera": "iPhone 16 Pro",    "dateTaken": "2026-07-14 16:32",    "gpsLocation": "43.71° N, 7.26° E"  }}
{  "filename": "2026-03-01 Acme Contrato de arrendamento.pdf",  "documentType": "Contrato",  "tags": ["Contrato", "Arrendamento"],  "text": "Contrato de arrendamento entre a Acme GmbH …",  "extraction": {    "customerNumber": "K-88213",    "servicePeriod": "a partir de 2026-03-01"  }}