---
title: "Upload a Document to Job"
method: POST
path: "/v1/job/{jobId}/upload-document"
tags: ["Jobs"]
---

# Upload a Document to Job

`POST /v1/job/{jobId}/upload-document`

Uploads the provided document to the job.

## Path parameters

- `jobId` string, required

## Headers

- `RequestId` string, uuid — The unique request identifier used to correlate request data with log entries and events, formatted as a UUID.
- `FrontOfficeTenantId` integer
- `Tenant` string

## Request body

- JobDocumentDTO
  - `jobDocumentID` integer — The identifier for the job document.
  - `jobID` integer, required — The identifier for the job.
  - `fileContent` string, required — The content of the file to be uploaded. This should be a base64 encoded string.
  - `documentTitle` string, required — The name of the document file.
  - `documentType` string — The type of the document.
  - `documentDate` string, date-time, required — The date the document was uploaded. The field follows the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss formats and also supports fractional seconds, such as YYYY-MM-DDTHH:mm:ss.sss. For example, 2024-12-01, 2024-12-01T14:30:00, and 2024-12-01T14:30:00.546.
  - `uploadedBy` string — The HCM ID of the user who uploaded the document.
  - `uploadUserId` integer, required — The identifier for the user who uploaded the document.

## Response `200`

The uploaded document.

- JobDocumentDTO
  - `jobDocumentID` integer — The identifier for the job document.
  - `jobID` integer, required — The identifier for the job.
  - `fileContent` string, required — The content of the file to be uploaded. This should be a base64 encoded string.
  - `documentTitle` string, required — The name of the document file.
  - `documentType` string — The type of the document.
  - `documentDate` string, date-time, required — The date the document was uploaded. The field follows the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss formats and also supports fractional seconds, such as YYYY-MM-DDTHH:mm:ss.sss. For example, 2024-12-01, 2024-12-01T14:30:00, and 2024-12-01T14:30:00.546.
  - `uploadedBy` string — The HCM ID of the user who uploaded the document.
  - `uploadUserId` integer, required — The identifier for the user who uploaded the document.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Access Denied
- `404` — Not found
- `405` — Unsupported method
- `406` — Unsupported format(s) indicated by Accept header
- `415` — Unsupported format(s) indicated by the Content-Type header
- `429` — Too many requests
- `500` — An unexpected error occurred
- `502` — Service Unavailable
- `504` — Gateway Timeout

---

[API](https://skmtc.net/avionte/apis/aviont-partner-authorization-api.md) · [All operations](https://skmtc.net/avionte/apis/aviont-partner-authorization-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/avionte/aviont-partner-authorization-api/versions/846b33e4e71b/schema)
