Skip to main content
POST
Create a new document collection

Authorizations

X-Access-Client-Id
string
header
required

Client ID

X-Access-Secret
string
header
required

Client Access Key

Body

application/json
documents
Documents · object[]
required

Array of documents to upload (maximum 10 files per request)

Required array length: 1 - 10 elements
users
Users · object[]

Array of users to create/update in this collection (optional). Truv matches documents to these users automatically using the name and SSN it extracts. Assigning user_id or external_user_id on a document in the documents array overrides that matching for the whole file.

User information for collection. Either 'id' or 'external_user_id' must be provided, but not both.

Response

collection_id
string
required
Example:

"a1b2c3d4e5f6478899aabbccddeeff00"

uploaded_files
Uploaded files · object[]
required
documents
Recognized documents · object[]
required
users
Users · object[]
required