API REST pour les professionnels
DocUnderstand intègre une API REST locale. FileMaker, Xojo, des scripts ou vos propres outils peuvent envoyer un document par HTTP et recevoir en retour le nom de fichier, les tags Finder et les données structurées.
curl -X POST http://localhost:8787/process \ -H "Authorization: Bearer ••••••••" \ -H "Content-Type: application/json" \ -d '{"filename":"Facture.pdf", ...}'
// Encoder foto.jpg en Base64Set Variable [ $data ; Base64EncodeRFC(...) ]Insert from URL [ $response ; "http://localhost:8787/process" ]
' Encoder Contrat.pdf en 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": "Facture", "tags": ["Facture", "Mobile"], "text": "Votre facture d'août 2026 …", "extraction": { "invoiceNumber": "RG-2026-081045", "grossAmount": 99.00 }}
{ "filename": "2026-07-14 Vacances à la plage.jpg", "documentType": "Photo", "tags": ["Photo", "Vacances"], "exif": { "camera": "iPhone 16 Pro", "dateTaken": "2026-07-14 16:32", "gpsLocation": "43.71° N, 7.26° E" }}
{ "filename": "2026-03-01 Acme Bail.pdf", "documentType": "Contrat", "tags": ["Contrat", "Location"], "text": "Contrat de bail entre Acme GmbH …", "extraction": { "customerNumber": "K-88213", "servicePeriod": "à partir du 2026-03-01" }}