Documents

get
Authorizations
AuthorizationstringRequired

Pass a Service Account Key as the Bearer token to authenticate. e.g. 'sk:xxxxxxx'

Query parameters
afterstringOptional
limitnumberOptional
externalIdstringOptional
Responses
200Success
application/json
Responseall of
and
get
/v1/documents
200Success
post
Authorizations
AuthorizationstringRequired

Pass a Service Account Key as the Bearer token to authenticate. e.g. 'sk:xxxxxxx'

Body
file_namestringRequired

A user friendly name for the document

external_idstringRequired

The id generated by the system from which the document was extracted

original_file_namestring | nullableRequired

The file name as of the extracted file.

original_file_pathstring | nullableRequired

The file path of the extracted file.

original_authorstring | nullableRequired

The author of the document.

extensionstringRequired

The file extension.

file_pathstringRequired

The file path as stored in the object storage.

valid_fromstring | nullableRequired

The date at which the document has been made available.

valid_untilstring | nullableRequired

The date at which the document will be made unavailable.

size_kbnumber | nullableRequired

The file size in kb.

storagestringRequired

The object storage ID to which the document is associated

Responses
200Success
application/json
post
/v1/documents
200Success
get
Authorizations
AuthorizationstringRequired

Pass a Service Account Key as the Bearer token to authenticate. e.g. 'sk:xxxxxxx'

Path parameters
documentIdstringRequired
Responses
200Success
application/json
get
/v1/documents/{documentId}
200Success
put
Authorizations
AuthorizationstringRequired

Pass a Service Account Key as the Bearer token to authenticate. e.g. 'sk:xxxxxxx'

Path parameters
documentIdstringRequired
Body
idstringRequired

Unique ID

file_namestringRequired

A user friendly name for the document

external_idstringRequired

The id generated by the system of referenced

original_file_namestring | nullableRequired

The file name as of the extracted file.

original_file_pathstring | nullableRequired

The file path of the extracted file.

original_authorstring | nullableRequired

The author of the document.

extensionstringRequired

The file extension.

file_pathstringRequired

The file path as stored in the object storage.

valid_fromstring | nullableRequired

The date at which the document has been made available.

valid_untilstring | nullableRequired

The date at which the document will be made unavailable.

size_kbnumber | nullableRequired

The file size in kb.

storagestringRequired

The object storage ID to which the document is associated

Responses
200Success
application/json
put
/v1/documents/{documentId}
200Success
delete
Authorizations
AuthorizationstringRequired

Pass a Service Account Key as the Bearer token to authenticate. e.g. 'sk:xxxxxxx'

Path parameters
documentIdstringRequired
Responses
200Success
application/json
delete
/v1/documents/{documentId}
200Success

Last updated

Was this helpful?