Kallidus Sapling

App · 12 actions

Read and update people in Kallidus Sapling, add pending hires, and read profile fields and onboarding tasks.

Actions

ActionWhat it does
Create pending hireAdd a new hire to Sapling's pending hires, ready for someone to start their onboarding.
Create userAdd a person to Sapling with their work email, name and start date, and any other profile fields.
Delete taskDelete a task.
Get field for every userGet one profile field's value for every person, such as everyone's T-shirt size.
Get pending hireGet one pending hire.
Get userGet one person's profile, with the current value of every field the API can share.
List fieldsList the profile fields the API can read and write, with each one's ID, name, section, type and choices.
List pending hiresList new hires waiting in Sapling for their onboarding to start.
List tasksList onboarding and offboarding tasks, optionally only those owned by one person.
List usersList people in Sapling, optionally by status, department, location, manager, employment status or start date.
Update pending hireChange a pending hire's details before their onboarding starts.
Update userChange fields on a person's profile.

Create pending hire

Add a new hire to Sapling's pending hires, ready for someone to start their onboarding. Sapling flags a hire whose personal email it already has.

Inputs

Personal emailpersonal_emailtextRequired
The new hire's personal email, where Sapling sends their invitation.
First namefirst_nametextRequired
The new hire's first name.
Last namelast_nametextRequired
The new hire's last name.
Start datestart_datedateRequired
The new hire's expected first day.
Preferred namepreferred_nametext
The name the new hire goes by. Leave empty to use the first name.
Job titlejob_titletext
The new hire's job title.
Departmentdepartmenttext
The new hire's department, as it is named in Sapling.
Locationlocationtext
The new hire's location, as it is named in Sapling.
Employment statusemployment_statustext
The employment status, as it is named in Sapling, such as `Full Time`.
Statusstatustext
Whether the new hire is active.One of: active, inactive.

Outputs

dataobject
The response from Kallidus Sapling.
Example output
{
  "data": {
    "customer": {
      "companyID": 1,
      "domain": "example"
    },
    "guid": "example",
    "message": "example",
    "status": 1,
    "userGUID": "example",
    "userID": 1
  }
}

Create user

Add a person to Sapling with their work email, name and start date, and any other profile fields.

Inputs

Company emailcompany_emailtextRequired
The person's work email.
First namefirst_nametextRequired
The person's first name.
Last namelast_nametextRequired
The person's last name.
Start datestart_datedateRequired
The person's first day.
Preferred namepreferred_nametext
The name the person goes by.
Job titlejob_titletext
The person's job title.
Departmentdepartmenttext
The person's department, as it is named in Sapling.
Locationlocationtext
The person's location, as it is named in Sapling.
Managermanagertext
The person's manager.
Personal emailpersonal_emailtext
The person's personal email.
Employment statusemployment_statustext
The employment status, as it is named in Sapling, such as `Full Time`.
Statusstatustext
Whether the person is active in Sapling.One of: active, inactive.
Other fieldsother_fieldsobject
Any other profile fields to set, each named by its field ID from the List fields step (such as `PFID16283462802483` or `t_shirt_size`) with its value.

Outputs

dataobject
The response from Kallidus Sapling.
Example output
{
  "data": {
    "message": "example",
    "status": 1
  }
}

Delete task

Delete a task.

Inputs

Tasktask_idnumberRequired
The task, as the number Sapling gives it.At least 1.

Outputs

dataobject
The response from Kallidus Sapling.
Example output
{
  "data": {
    "deleted": true,
    "task_id": 1
  }
}

Get field for every user

Get one profile field's value for every person, such as everyone's T-shirt size.

Inputs

Fieldfield_idtextRequired
The profile field.
Pagepagenumber
Which page of people to read: 1 is the first. Leave empty for the first page.At least 1.
Results per pagelimitnumber
How many people to read per page. Leave empty for 50.From 1 to 1000.

Outputs

dataobject
The response from Kallidus Sapling.
Example output
{
  "data": {
    "current_page": 1,
    "total_pages": 1,
    "total_users": 1,
    "users": [
      {
        "guid": "example",
        "id": "example"
      }
    ]
  }
}

Get pending hire

Get one pending hire.

Inputs

Pending hirepending_hire_idtextRequired
The pending hire.

Outputs

dataobject
The response from Kallidus Sapling.
Example output
{
  "data": {
    "customer": {
      "companyID": 1,
      "domain": "example"
    },
    "pending_hire": {
      "department": "example",
      "employmentStatus": "example",
      "firstName": "example",
      "jobTitle": "example",
      "lastName": "example",
      "location": "example",
      "manager": "example",
      "pendingHireID": "example",
      "personalEmail": "example",
      "phoneNumber": "example",
      "preferredName": "example",
      "source": "example",
      "startDate": "example",
      "status": "example",
      "userGUID": "example",
      "userID": 1
    },
    "status": 1
  }
}

Get user

Get one person's profile, with the current value of every field the API can share.

Inputs

Useruser_guidtextRequired
The user, as the GUID Sapling gives each person.

Outputs

dataobject
The response from Kallidus Sapling.
Example output
{
  "data": {
    "company_email": "example",
    "department": "example",
    "employment_status": "example",
    "first_name": "example",
    "guid": "example",
    "home_address": {
      "city": "example",
      "country": "example",
      "line1": "example",
      "line2": "example",
      "state": "example",
      "zip": "example"
    },
    "job_title": "example",
    "last_day_worked": "example",
    "last_name": "example",
    "location": "example",
    "manager": "example",
    "personal_email": "example",
    "preferred_name": "example",
    "start_date": "example",
    "state": "example",
    "termination_date": "example"
  }
}

List fields

List the profile fields the API can read and write, with each one's ID, name, section, type and choices.

Inputs

None.

Outputs

datalist
The response from Kallidus Sapling.
Example output
{
  "data": [
    {
      "id": "example",
      "name": "example",
      "options": "example",
      "section": "example",
      "sub_fields": [
        {
          "id": "example",
          "name": "example",
          "type": "example"
        }
      ],
      "type": "example"
    }
  ]
}

List pending hires

List new hires waiting in Sapling for their onboarding to start.

Inputs

Pagepagenumber
Which page of pending hires to read: 1 is the first. Leave empty for the first page.At least 1.
Results per pagelimitnumber
How many pending hires to read per page. Leave empty for 50.From 1 to 1000.

Outputs

dataobject
The response from Kallidus Sapling.
Example output
{
  "data": {
    "current_page": 1,
    "customer": {
      "companyID": 1,
      "domain": "example"
    },
    "pending_hires": [
      {
        "department": "example",
        "employmentStatus": "example",
        "firstName": "example",
        "jobTitle": "example",
        "lastName": "example",
        "location": "example",
        "manager": "example",
        "pendingHireID": "example",
        "personalEmail": "example",
        "phoneNumber": "example",
        "preferredName": "example",
        "source": "example",
        "startDate": "example",
        "status": "example",
        "userGUID": "example",
        "userID": 1
      }
    ],
    "total_pages": 1,
    "total_pending_hires": 1
  }
}

List tasks

List onboarding and offboarding tasks, optionally only those owned by one person.

Inputs

Owner emailowner_emailtext
Only list tasks owned by the person with this email.
Pagepagenumber
Which page of tasks to read: 1 is the first. Leave empty for the first page.At least 1.
Results per pagelimitnumber
How many tasks to read per page. Leave empty for 50.From 1 to 1000.

Outputs

dataobject
The response from Kallidus Sapling.
Example output
{
  "data": {
    "current_page": 1,
    "tasks": [
      {
        "created_at": "example",
        "description": "example",
        "due_date": "example",
        "name": "example",
        "owner_email": "example",
        "owner_guid": "example",
        "owner_name": "example",
        "receiver_email": "example",
        "receiver_guid": "example",
        "receiver_name": "example",
        "state": "example",
        "task_id": 1,
        "updated_at": "example",
        "workflow_id": 1,
        "workflow_name": "example",
        "workspace_name": "example"
      }
    ],
    "total_pages": 1,
    "total_tasks": 1
  }
}

List users

List people in Sapling, optionally by status, department, location, manager, employment status or start date.

Inputs

Statusstatustext
Only list active or inactive people.One of: active, inactive.
Departmentdepartmenttext
Only list people in this department.
Locationlocationtext
Only list people at this location.
Managermanagertext
Only list people this person manages.
Employment statusemployment_statustext
Only list people with this employment status, such as `Full Time`.
Started on or afterstarted_sincedate
Only list people who started on or after this day.
Started on or beforestarted_untildate
Only list people who started on or before this day.
Pagepagenumber
Which page of people to read: 1 is the first. Leave empty for the first page.At least 1.
Results per pagelimitnumber
How many people to read per page. Leave empty for 50.From 1 to 1000.

Outputs

dataobject
The response from Kallidus Sapling.
Example output
{
  "data": {
    "current_page": 1,
    "total_pages": 1,
    "total_users": 1,
    "users": [
      {
        "company_email": "example",
        "department": "example",
        "employment_status": "example",
        "first_name": "example",
        "guid": "example",
        "home_address": {
          "city": "example",
          "country": "example",
          "line1": "example",
          "line2": "example",
          "state": "example",
          "zip": "example"
        },
        "job_title": "example",
        "last_day_worked": "example",
        "last_name": "example",
        "location": "example",
        "manager": "example",
        "personal_email": "example",
        "preferred_name": "example",
        "start_date": "example",
        "state": "example",
        "termination_date": "example"
      }
    ]
  }
}

Update pending hire

Change a pending hire's details before their onboarding starts. Fields left empty stay as they are.

Inputs

Pending hirepending_hire_idtextRequired
The pending hire.
Personal emailpersonal_emailtext
The new hire's personal email, where Sapling sends their invitation.
First namefirst_nametext
The new hire's first name.
Last namelast_nametext
The new hire's last name.
Start datestart_datedate
The new hire's expected first day.
Preferred namepreferred_nametext
The name the new hire goes by. Leave empty to use the first name.
Job titlejob_titletext
The new hire's job title.
Departmentdepartmenttext
The new hire's department, as it is named in Sapling.
Locationlocationtext
The new hire's location, as it is named in Sapling.
Employment statusemployment_statustext
The employment status, as it is named in Sapling, such as `Full Time`.
Statusstatustext
Whether the new hire is active.One of: active, inactive.

Outputs

dataobject
The response from Kallidus Sapling.
Example output
{
  "data": {
    "customer": {
      "companyID": 1,
      "domain": "example"
    },
    "guid": "example",
    "message": "example",
    "status": 1,
    "userGUID": "example",
    "userID": 1
  }
}

Update user

Change fields on a person's profile. Fields left empty stay as they are.

Inputs

Useruser_guidtextRequired
The user, as the GUID Sapling gives each person.
Company emailcompany_emailtext
The person's work email.
First namefirst_nametext
The person's first name.
Last namelast_nametext
The person's last name.
Start datestart_datedate
The person's first day.
Preferred namepreferred_nametext
The name the person goes by.
Job titlejob_titletext
The person's job title.
Departmentdepartmenttext
The person's department, as it is named in Sapling.
Locationlocationtext
The person's location, as it is named in Sapling.
Managermanagertext
The person's manager.
Personal emailpersonal_emailtext
The person's personal email.
Employment statusemployment_statustext
The employment status, as it is named in Sapling, such as `Full Time`.
Statusstatustext
Whether the person is active in Sapling.One of: active, inactive.
Other fieldsother_fieldsobject
Any other profile fields to set, each named by its field ID from the List fields step (such as `PFID16283462802483` or `t_shirt_size`) with its value.

Outputs

dataobject
The response from Kallidus Sapling.
Example output
{
  "data": {
    "message": "example",
    "status": 1
  }
}

On this page