Skip to main content
POST
Upload a file attachment to a project

Authorizations

Authorization
string
header
required

OAuth 2.0 client credentials. The access token from POST /oauth/token is sent as a bearer token. Request only the scopes you need.

zivio-tenant-id
string
header
required

Your Zivio organisation identifier. The regional API endpoints serve every Zivio organisation, so each request must identify yours.

Path Parameters

id
integer
required

Project ID

Body

multipart/form-data
file
file
required

The file to upload.

attachment_scope
enum<string>
required

Scope of the attachment.

Available options:
internal,
project_posting
Example:

"internal"

sensitivity_labels
string

Optional comma-separated list of sensitivity label names to apply to the attachment.

Example:

"confidential,internal"

Response

File uploaded successfully

The response is of type object.