Onboarding
The checklist of a hire: read it, and do or reopen a step.
On this page
Get the onboarding checklist
GET /hr/v1/employees/{employeeId}/onboarding
Returns the steps of the hire, who owns each, whether it is done and which steps it waits for, and the last day the hire can be registered.
Parameters
| Name | In | Type | Required | Meaning |
|---|---|---|---|---|
employeeId | path | string (uuid) | Yesrequired | The person. |
Responses
| Status | Meaning | Body |
|---|---|---|
200 | The record at its current revision. | Onboarding |
401 | The token is missing, not valid or has ended. | Error |
403 | The token does not give access to this data, or to this account. | Error |
404 | The request was refused. The code is employee_not_found or onboarding_not_found. | Error |
429 | The request was refused. The code is rate_limited. | Error |
503 | The request was refused. The code is unavailable. | Error |
Request
curl
curl "$RDC_BASE_URL/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding" \
-H "Authorization: Bearer $RDC_TOKEN" JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding`, {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.RDC_TOKEN}`,
},
});
const result = await response.json(); Python
import os
import requests
response = requests.request(
'GET',
f'{os.environ["RDC_BASE_URL"]}/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
)
result = response.json() PHP
<?php
$curl = curl_init(getenv('RDC_BASE_URL') . '/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('RDC_TOKEN'),
],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl); C#
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); Response 200
{
"employeeId": "93c566c1-799c-4ccf-afac-244ff06d2537",
"registerDue": "2026-12-07",
"steps": [
{
"id": "contract",
"ownerId": "a31a1dd1-9214-434e-a00a-db907727f048",
"done": true,
"doneAt": "2026-11-20T10:15:00Z",
"blockedBy": []
},
{
"id": "register",
"ownerId": "a31a1dd1-9214-434e-a00a-db907727f048",
"done": false,
"doneAt": null,
"blockedBy": []
},
{
"id": "payroll",
"ownerId": "bb78eec5-e3db-4951-8af5-097c81a5874f",
"done": false,
"doneAt": null,
"blockedBy": [
"register"
]
},
{
"id": "courses",
"ownerId": "a31a1dd1-9214-434e-a00a-db907727f048",
"done": false,
"doneAt": null,
"blockedBy": []
},
{
"id": "access",
"ownerId": "15a61181-9564-4cb8-9aef-b3ef3b7ef421",
"done": false,
"doneAt": null,
"blockedBy": []
}
],
"revision": 2
} Do a step
POST /hr/v1/employees/{employeeId}/onboarding/{step}/complete
Marks a step done. It is refused while a step it waits for is open. The person named in actorId is the owner of the step or the HR lead.
Parameters
| Name | In | Type | Required | Meaning |
|---|---|---|---|---|
employeeId | path | string (uuid) | Yesrequired | The person. |
step | path | string | Yesrequired | The step of the checklist. One of contract, register, payroll, courses, access |
Request body
| Field | Type | Required | Meaning |
|---|---|---|---|
operationId | string (uuid) | Yesrequired | A UUID you choose for this change. Send it again to repeat the request. |
expectedRevision | integer | Yesrequired | The revision of the person you read. |
actorId | string (uuid) | Yesrequired | The person on whose behalf the change is made. |
Responses
| Status | Meaning | Body |
|---|---|---|
202 | The change was accepted. The body is the operation result. | OperationResult |
400 | The request cannot be read or breaks the contract: the JSON is malformed, a field is missing or unknown, or a type is wrong. fields names each one. | Error |
401 | The token is missing, not valid or has ended. | Error |
403 | The token does not give access to this data, or to this account. | Error |
404 | The request was refused. The code is employee_not_found, step_not_found or onboarding_not_found. | Error |
409 | The request was refused. The code is revision_conflict or operation_reused. | Error |
422 | The request was refused. The code is not_step_owner, step_done or step_blocked. | Error |
429 | The request was refused. The code is rate_limited. | Error |
503 | The request was refused. The code is unavailable. | Error |
Request
curl
curl -X POST "$RDC_BASE_URL/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding/register/complete" \
-H "Authorization: Bearer $RDC_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"expectedRevision": 2,
"actorId": "a31a1dd1-9214-434e-a00a-db907727f048",
"operationId": "3ff4a0ea-8962-45c0-9536-2334a41ee93e"
}' JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding/register/complete`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.RDC_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"expectedRevision": 2,
"actorId": "a31a1dd1-9214-434e-a00a-db907727f048",
"operationId": "3ff4a0ea-8962-45c0-9536-2334a41ee93e"
}),
});
const result = await response.json(); Python
import os
import requests
response = requests.request(
'POST',
f'{os.environ["RDC_BASE_URL"]}/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding/register/complete',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
json={
'expectedRevision': 2,
'actorId': 'a31a1dd1-9214-434e-a00a-db907727f048',
'operationId': '3ff4a0ea-8962-45c0-9536-2334a41ee93e',
},
)
result = response.json() PHP
<?php
$body = <<<'JSON'
{
"expectedRevision": 2,
"actorId": "a31a1dd1-9214-434e-a00a-db907727f048",
"operationId": "3ff4a0ea-8962-45c0-9536-2334a41ee93e"
}
JSON;
$curl = curl_init(getenv('RDC_BASE_URL') . '/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding/register/complete');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('RDC_TOKEN'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl); C#
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding/register/complete");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
"expectedRevision": 2,
"actorId": "a31a1dd1-9214-434e-a00a-db907727f048",
"operationId": "3ff4a0ea-8962-45c0-9536-2334a41ee93e"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); Response 202
{
"operationId": "3ff4a0ea-8962-45c0-9536-2334a41ee93e",
"status": "accepted",
"aggregateRevision": 3
} Reopen a step
POST /hr/v1/employees/{employeeId}/onboarding/{step}/reopen
Marks a done step open again. It is refused while a step that waits for it is done.
Parameters
| Name | In | Type | Required | Meaning |
|---|---|---|---|---|
employeeId | path | string (uuid) | Yesrequired | The person. |
step | path | string | Yesrequired | The step of the checklist. One of contract, register, payroll, courses, access |
Request body
| Field | Type | Required | Meaning |
|---|---|---|---|
operationId | string (uuid) | Yesrequired | A UUID you choose for this change. Send it again to repeat the request. |
expectedRevision | integer | Yesrequired | The revision of the person you read. |
actorId | string (uuid) | Yesrequired | The person on whose behalf the change is made. |
Responses
| Status | Meaning | Body |
|---|---|---|
202 | The change was accepted. The body is the operation result. | OperationResult |
400 | The request cannot be read or breaks the contract: the JSON is malformed, a field is missing or unknown, or a type is wrong. fields names each one. | Error |
401 | The token is missing, not valid or has ended. | Error |
403 | The token does not give access to this data, or to this account. | Error |
404 | The request was refused. The code is employee_not_found, step_not_found or onboarding_not_found. | Error |
409 | The request was refused. The code is revision_conflict or operation_reused. | Error |
422 | The request was refused. The code is not_step_owner, step_not_done or step_has_dependents. | Error |
429 | The request was refused. The code is rate_limited. | Error |
503 | The request was refused. The code is unavailable. | Error |
Request
curl
curl -X POST "$RDC_BASE_URL/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding/contract/reopen" \
-H "Authorization: Bearer $RDC_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"expectedRevision": 2,
"actorId": "a31a1dd1-9214-434e-a00a-db907727f048",
"operationId": "cd78de1c-9af5-456c-8a6e-c71338e0e26c"
}' JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding/contract/reopen`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.RDC_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"expectedRevision": 2,
"actorId": "a31a1dd1-9214-434e-a00a-db907727f048",
"operationId": "cd78de1c-9af5-456c-8a6e-c71338e0e26c"
}),
});
const result = await response.json(); Python
import os
import requests
response = requests.request(
'POST',
f'{os.environ["RDC_BASE_URL"]}/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding/contract/reopen',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
json={
'expectedRevision': 2,
'actorId': 'a31a1dd1-9214-434e-a00a-db907727f048',
'operationId': 'cd78de1c-9af5-456c-8a6e-c71338e0e26c',
},
)
result = response.json() PHP
<?php
$body = <<<'JSON'
{
"expectedRevision": 2,
"actorId": "a31a1dd1-9214-434e-a00a-db907727f048",
"operationId": "cd78de1c-9af5-456c-8a6e-c71338e0e26c"
}
JSON;
$curl = curl_init(getenv('RDC_BASE_URL') . '/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding/contract/reopen');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('RDC_TOKEN'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl); C#
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/hr/v1/employees/93c566c1-799c-4ccf-afac-244ff06d2537/onboarding/contract/reopen");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
"expectedRevision": 2,
"actorId": "a31a1dd1-9214-434e-a00a-db907727f048",
"operationId": "cd78de1c-9af5-456c-8a6e-c71338e0e26c"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); Response 202
{
"operationId": "cd78de1c-9af5-456c-8a6e-c71338e0e26c",
"status": "accepted",
"aggregateRevision": 3
}