POST
/
hris
/
employees
/
{employee_id}
/
documents
{
  "status": "success",
  "data": {}
}

This endpoint requires the permission Manage documents to be enabled in your scope config.

Example Request Body

{
  "category_id": "3Cjwu7nA7pH5cX5X1NAPmb7M",
  "document": {
    "name": "Frank Doe Employment Contract.txt",
    "data": "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
    "content_type": "text/plain"
  }
}

Authorizations

Authorization
string
headerrequired

Create an API key on the Secrets page in the Kombo dashboard.

Headers

X-Integration-Id
string
required

ID of the integration you want to interact with.

Path Parameters

employee_id
string
required

POST /hris/employees/:employee_id/documents parameter

Body

application/json
category_id
string
required
document
object
required

Response

200 - application/json
status
enum<string>
required
Available options:
success
data
object
required