Skip to main content
POST
Error

Authorizations

authorization
string
header
required
X-Workspace-ID
string
header
required

Path Parameters

project_id
integer
required

Body

multipart/form-data
file
file
required

Response

Created

A file attached to a procurement document (purchase order, supplier invoice, goods receipt or inspection), a project or a baseline row.

id
integer
required
filename
string
required

The name the file was uploaded with.

content_type
string
required
Example:

"application/pdf"

byte_size
integer
required
url
string
required

Download URL. On private storage a signed URL that serves the file inline under its filename.

created_at
string<date-time>
required
created_by_id
integer | null
deleted_at
string<date-time> | null

When it was removed from its document. Documents list only files that are not removed; a purchase order revision lists the files it had, removed ones included (their url still works).