पेशेवरों के लिए REST API
DocUnderstand में एक लोकल REST API शामिल है। FileMaker, Xojo, स्क्रिप्ट या आपके अपने टूल्स HTTP के ज़रिए दस्तावेज़ भेज सकते हैं और बदले में फ़ाइल नाम, Finder टैग और संरचित डेटा प्राप्त कर सकते हैं।
curl -X POST http://localhost:8787/process \ -H "Authorization: Bearer ••••••••" \ -H "Content-Type: application/json" \ -d '{"filename":"इनवॉइस.pdf", ...}'
// foto.jpg को Base64 में एन्कोड करेंSet Variable [ $data ; Base64EncodeRFC(...) ]Insert from URL [ $response ; "http://localhost:8787/process" ]
' अनुबंध.pdf को Base64 में एन्कोड करेंVar 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": "इनवॉइस", "tags": ["इनवॉइस", "मोबाइल"], "text": "अगस्त 2026 के लिए आपका इनवॉइस …", "extraction": { "invoiceNumber": "RG-2026-081045", "grossAmount": 99.00 }}
{ "filename": "2026-07-14 छुट्टी समुद्र तट.jpg", "documentType": "फ़ोटो", "tags": ["फ़ोटो", "छुट्टी"], "exif": { "camera": "iPhone 16 Pro", "dateTaken": "2026-07-14 16:32", "gpsLocation": "43.71° N, 7.26° E" }}
{ "filename": "2026-03-01 Acme किराया अनुबंध.pdf", "documentType": "अनुबंध", "tags": ["अनुबंध", "किराया"], "text": "Acme GmbH के बीच किराया अनुबंध …", "extraction": { "customerNumber": "K-88213", "servicePeriod": "2026-03-01 से" }}