---
title: "Upload a Document"
method: POST
path: "/v1/talent/{talentId}/upload-document"
tags: ["Talent"]
---

# Upload a Document

`POST /v1/talent/{talentId}/upload-document`

Uploads a document to the profile page of the specified talent record. Uploaded document displays on the *Documents* tab of the talent profile page.

## Path parameters

- `talentId` 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

## Response `201`

The talent document that was successfully uploaded.

- TalentDocument
  - `id` integer — The identifier for the talent document.
  - `talentId` integer — The identifier for the talent.
  - `fileName` string — The encrypted name of the file with extension that is generated by Avionté.
  - `fileContent` string, binary — The content of the file to be uploaded. It will be populated using the content of the attached file. Valid file extensions are: 'txt', 'doc', 'docx', 'pdf', 'xls', 'xlsx', 'png', 'jpg', 'jpeg'.
  - `documentTitle` string — The title of the document.
  - `documentDate` string, date-time — The date when the document was uploaded. The field follows the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss formats, for example, 2024-12-01 or 2024-12-01T14:30:00.
  - `documentType` string — The type of the BOLD document.
  - `uploadedBy` integer — The ID of the user who uploaded the document.
  - `isPrivate` boolean — An indication of whether the document is private or not.
  - `isShared` boolean — An indication of whether the document is shared or not.
  - `expiryDate` string, date-time — The expiration date of the document. The field follows the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss formats, for example, 2024-12-01 or 2024-12-01T14:30:00.
  - `documentTypeId` integer — The identifier for the BOLD document type.
  - `employerId` integer — The identifier for the employer.
  - `isVisible` boolean — An indication of whether the document is visible or not.
  - `documentContent` string, byte — The contents of the talent document as a Base-64 encoded string.

## 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)
