Document AI — DMS

Check for duplicate documents

Check whether a document is a duplicate. Provide exactly one of pofid or file_hash.

post/documents/duplicate-check

Request

  • Base URL: https://api.paperoffice.ai/latest
  • URL: https://api.paperoffice.ai/latest/documents/duplicate-check
  • Auth: HTTP bearer

Request body

pofidstring

PaperOffice file ID of an existing, analysed document. Checks it against the other documents in the account by business data. Use pofid OR file_hash.

file_hashstring

SHA-256 hex digest of a file (64 characters), to find byte-identical stored files before an upload. Use file_hash OR pofid.

workspace_idinteger

Only with file_hash: limit the search to this workspace.

exclude_pofidstring

Only with file_hash: POFID to exclude from the match.

exclude_documents_idinteger

Only with file_hash: documents_id to exclude from the match.

Response

Success

status'success' required
_billingobject

Changes

No recorded changes to this operation across all 1 revision of this API.