API REST per professionisti
DocUnderstand include un'API REST locale. FileMaker, Xojo, script o i tuoi strumenti possono inviare un documento via HTTP e ricevere il nome del file, i tag del Finder e i dati strutturati.
curl -X POST http://localhost:8787/process \ -H "Authorization: Bearer ••••••••" \ -H "Content-Type: application/json" \ -d '{"filename":"Fattura.pdf", ...}'
// Codifica foto.jpg in Base64Set Variable [ $data ; Base64EncodeRFC(...) ]Insert from URL [ $response ; "http://localhost:8787/process" ]
' Codifica Contratto.pdf in Base64Var req As New URLConnectionreq.SetRequestContent(json, "application/json")Var antwort As String = req.SendSync("POST", _ "http://localhost:8787/process")
{ "filename": "2026-08-10 T-Mobile…pdf", "documentType": "Fattura", "tags": ["Fattura", "Telefonia mobile"], "text": "La tua fattura di agosto 2026 …", "extraction": { "invoiceNumber": "RG-2026-081045", "grossAmount": 99.00 }}
{ "filename": "2026-07-14 Vacanze in spiaggia.jpg", "documentType": "Foto", "tags": ["Foto", "Vacanze"], "exif": { "camera": "iPhone 16 Pro", "dateTaken": "2026-07-14 16:32", "gpsLocation": "43.71° N, 7.26° E" }}
{ "filename": "2026-03-01 Acme Contratto di locazione.pdf", "documentType": "Contratto", "tags": ["Contratto", "Locazione"], "text": "Contratto di locazione tra Acme GmbH …", "extraction": { "customerNumber": "K-88213", "servicePeriod": "dal 2026-03-01" }}