Worker

Worker Document

Add a document to an "Active" or "Terminated" worker.

post/workers/{workerId}/documents

Request

Path parameters

workerIdstring required

ID associated with desired worker.

Request body multipart/form-data

filestring binary required
notificationToggleboolean

The notification toggle for send notification.

Example request

{
  "metadata": {
    "docId": "97155644",
    "name": "sampledoc.pdf",
    "expirationDate": "2025-09-11T00:00:00Z",
    "category": "15",
    "workerVisible": true,
    "workerVisibleDate": "2025-09-11T00:00:00Z",
    "document": "data:application/pdf;base64,PgpzdGFydHhyZWYKMTg4NTU4CiUlRU9GCg=="
  }
}

Response

successful operation

Example response

{
  "content": {
    "docId": "97155644",
    "name": "sampledoc.pdf",
    "expirationDate": "2025-09-11T00:00:00Z",
    "category": "15",
    "workerVisible": true,
    "workerVisibleDate": "2025-09-11T00:00:00Z",
    "document": "data:application/pdf;base64,PgpzdGFydHhyZWYKMTg4NTU4CiUlRU9GCg=="
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.