Uploads document(s) to a customer. Once the document(s) are uploaded, they will be queued for processing by Inscribe’s fraud detection, parsing, and optionally verification algorithms. The file size limit is 50 MB and the page limit for PDFs is 350.

curl "https://api.inscribe.ai/api/v2/customers/{customer_id}/documents/" \ 
  -H "Authorization: Inscribe INSKP_..." \ 
  -F '[email protected]/path/to/fileX' \
  -F '[email protected]/path/to/fileY' \
  -F 'verify_entities=[{"name":"Jane Customer", "address":"1000 Walnut Kansas City MO"}]' \
  -F 'tags=[{"text": "onboarding"}, {"text": "new_system"}]'
import inscribe

api = inscribe.Client(secret_token='INSKP_...')

doc_obj = open("DOCUMENT_FILE_PATH", "rb+")
verify_name = "Jane Customer"
verify_address = "1000 Walnut Kansas City MO"
verify_company = "Smith & Sons"
verify_id_number = "92914567"
verify_strings = [{"key": "phone", "input": "929-7113-145"}]
tags = ["onboarding", "new_customer"]

api.upload_document(
    customer_id,
    document=doc_obj,
    verify_name=verify_name,
    verify_address=verify_address,
    tags=tags,
    verify_id_number=verify_id_number,
    verify_company=verify_company,
    verify_strings=verify_strings
)
const api = new InscribeAI('INSKP_...')

const document = fs.createReadStream('/path/to/document.pdf')
const name = "testDocument.pdf"
const verifications = { name: "Jane Customer", address: "1000 Walnut Kansas City MO", id_number="92914567", strings = [{"key": "phone", "input": "929-7113-145"}]}
const tags = [{ text: "onboarding"}, {text: "new_system"}]
api.uploadDocument(customerId, document, name, verifications, tags).then((response) => {})
Language
Authentication
Header