Skip to main content
POST
Upload file

Authorizations

Authorization
string
header
required

Authentication can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}.

Path Parameters

tenantId
string<uuid>
required

Id of the tenant the file is being created for

Body

application/json

New file object

content
string
required

Base64 encoded file content

contentType
string
required

The content type of the file

name
string
required

The name of the file

Response

Successful operation

id
string<uuid>
required

Id of the created file

contentType
string
required

The content type of the file

fileName
string

The name of the file

meta
object

Extracted metadata. Only present when parseInvoice is set to true.