POST
/
folders
/
{folderId}
/
documents

Authorizations

x-api-key
string
headerrequired

Path Parameters

folderId
integer
required

The folder id

Body

multipart/form-data
File
file
required
DocumentType
enum<string>
required
Available options:
unspecific,
annualReport
DocumentTransformType
enum<string>
Available options:
transformToSearchablePDF,
transformToOCR,
transformToMetadata,
transformToEntity
MimeType
string
Description
string
Maximum length: 255
ExternalId1
string
Maximum length: 255
ExternalId2
string
Maximum length: 255
CompanyId
integer

Response

200 - application/json
documentId
integer
documentFolderId
integer
originsFromDocumentId
integer | null
companyId
integer | null
externalId1
string | null
externalId2
string | null
description
string | null
documentType
enum<string>
Available options:
unspecific,
annualReport
fileName
string | null
fileMimeType
string | null
documentTransformType
enum<string>
Available options:
transformToSearchablePDF,
transformToOCR,
transformToMetadata,
transformToEntity
documentTransformStatusType
enum<string>
Available options:
requested,
processing,
success,
warning,
failed
documentFileSystemType
enum<string>
Available options:
orginal,
pdfSearchable,
jsonOcrV1,
jsonEntityV1,
jsonOcrV2,
jsonEntityV2
isDeleted
boolean | null
lastUpdatedAtUtc
string