Skip to content

Boarding Templates

List of valid attributes:

Attribute Description Specifics
boarding_type ‘onboarding’ or ‘offboarding’ Must be set on creation, cannot be changed later
account_id ID of the account the boarding template belongs to Cannot be set
discarded_at Null or timestamp of removal Cannot be set
name Name of the on- or offboarding template Must be set
message The default message that is used for new onboardings (not used on offboardings) Can be set on create & update endpoint, is optional
boarding_template_stages
boarding_stage_id ID of the related boarding stage Must be set
tasks List of tasks in this stage of the template Must be an array of objects, where each object represents a task. Detailed information on task object, see table below
Task-Attributes Description Specifics
name Name of a task Mandatory, Value of type string.
description Description of a task Optional, Value of type string.

The following relationships can be included in requests:

Relationship Type
boarding_template_stages has many

Meta data: Permissions

Group Description
actions Contains permissions to edit or delete an on- or offboarding template

Example request:

{
"data": {
"type": "boarding_template",
"attributes": {
"name": "1st Template"
}
}
}

Example response:

{
"data": {
"id": "95579c3b-20ed-43b8-ab79-d60d05690be5",
"type": "boarding_template",
"attributes": {
...
}
}
}

This endpoint creates an on- or offboarding template.

POST /api/v1/boarding_templates

Example request:

{
"data": {
"type": "boarding_template",
"attributes": {
"name": "Updated Boarding Template"
}
}
}

Example response:

{
"data": {
"id": "37947040-e097-475e-8170-13ed76fc6281",
"type": "boarding_template",
"attributes": {
...
}
}
}

This endpoint updates an on- or offboarding template.

PUT /api/v1/boarding_templates/:boarding_template_id

Parameter Description
boarding_template_id  ID of the on- or offboarding template to be updated

Example response:

{
"data": {
"id": "ce7889a1-5bd3-4b9b-9a31-092d1b384f47",
"type": "boarding_template",
"attributes": {
...
}
}
}

This endpoint returns an on- or offboarding template.

GET /api/v1/boarding_templates/:boarding_template_id

Parameter Description
boarding_template_id The ID of the on- or offboarding_template to return

Example response:

{
"data": [
{
"id": "14833508-e59c-4177-86db-dda7575ff61e",
"type": "boarding_template",
"attributes": {
...
}
},
{
...
}
]
}

This endpoint returns all boarding templates.

GET /api/v1/boarding_templates

Example response:

{
"data": {
"id": "ce7889a1-5bd3-4b9b-9a31-092d1b384f47",
"type": "boarding_template",
"attributes": {
...
}
}
}

This endpoint deletes an on- or offboarding template.

DELETE /api/v1/boarding_template/:boarding_template_id

Parameter Description
boarding_template_id The ID of the on- or offboarding_template to delete