Skip to main content
POST
/
jobs
/
{id}
/
file_upload
Upload a file to a project by ID and attachment_scope with optional sensitivity labels
curl --request POST \
  --url https://api.zivio.net/api/v3/jobs/{id}/file_upload \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>' \
  --header 'zivio-tenant-id: <api-key>' \
  --form 'sensitivity_labels=<string>' \
  --form attachment_scope=job_posting \
  --form file=@example-file
{
  "message": "File uploaded successfully to Project 123"
}

Authorizations

X-API-Key
string
header
required
zivio-tenant-id
string
header
required

Path Parameters

id
string
required

ID of the Project

Body

multipart/form-data
file
file
required
attachment_scope
enum<string>
required

Scope of the attachment - Shared file (job_posting) or internal file (internal)

Available options:
job_posting,
internal
sensitivity_labels
string[]

Optional sensitivity labels for the file, pass name/s of existing or new labels split by comma e.g. 'label1,label2'

Response

ok

message
string
Example:

"File uploaded successfully to Project 123"

I