Skip to main content
POST
/
hris
/
employees
/
form
Python
from kombo import SDK


with SDK(
    integration_id="workday:HWUTwvyx2wLoSUHphiWVrp28",
    api_key="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:

    res = sdk.hris.create_employee_with_form(request={
        "properties": {
            "firstName": "John",
            "startDate": "2025-01-01T00:00:00Z",
            "workLocation": {
                "site": "8e422bf8cav",
                "keyNumbers": {
                    "0": 142,
                    "1": 525,
                    "2": 63,
                },
            },
        },
    })

    # Handle response
    print(res)
{
"status": "success",
"data": {
"id": "26vafvWSRmbhNcxJYqjCzuJg"
},
"warnings": [
{
"message": "This is an example warning!"
}
]
}

Authorizations

Authorization
string
header
required

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.

Body

application/json

POST /hris/employees/form Request body

properties
object
required

Response

POST /hris/employees/form Positive response

status
string
required
Allowed value: "success"
data
object
required
Examples:
{ "id": "26vafvWSRmbhNcxJYqjCzuJg" }
warnings
object[]
required

These are the interaction warnings that are shown in the dashboard. They are meant to provide debug information to you. We recommend logging them to the console.