Employee data from onboard can be queried via a JSON interface.
API Endpoint
The endpoint can be reached via the following URL:
https://<company>.onboard.org/exports/v2/employees.json
Header
API-KEY: mandatory for authorization; You can get the API key from our support team on request
Parameters
page: page displayed. Begins at 1.
example:
https://<company>.onboard.org/en/exports/v2/employees.json?page=1
Content
The interface provides the following content:
entries: employee informationcurrent_page: current pageper_page: entries displayed per pagetotal_entries: total entries
The information of the employees contains the master data and possibly information about the employment relationship:
id: unique ID in onboardgender: gender. Possible values:unknown: unknownmale: malefemale: femalediverse: diversenot_defined: not set
language: employee language in ISO 639-1 formatfirst_name: first namelast_name: surnameemail: private email addresscompany_email: company email addressphone: private phone numbercompany_phone: company phonebirthday: date of birth in the format YYYY-MM-DDtax_number: Italian tax numberemployee_number: personal numbernationality: nationality as country ISO code (e.g. “IT”)birthplace: birthplacestreet: residence – streetstreet_number: residence – house numbercity: residence – citypostal_code: residence – postcoderegion: residence – region or districtcountry_code: residence – country as country ISO code (e.g. “IT”)iban: IBANswift: BIC/SWIFThired_at: entry date in the format YYYY-MM-DD. Can benullwhen not set yet.leaving_at: exit date in the format YYYY-MM-DD.Can benullwhen not set yet or the employee has no leaving date.employee_status_id: ID of the statuslocation_id: ID of the locationdepartment_id: ID of the departmentsupervisor_id: ID of the supervisorcreated_at: creation date in ISO 8601 formatupdated_at: last update in ISO 8601 formatphoto_url: URL to the employee`s image (original)photo_url_big: URL to the employee`s image (400x400px)photo_url_default: URL to the employee`s image (80x80px)
Example response:
{
"entries":[
{
"id":"RGb11O42",
"email":"[email protected]",
"first_name":"Max",
"last_name":"Mustermann",
"phone":null,
"created_at":"2021-10-13T10:03:45.853Z",
"updated_at":"2021-10-13T10:03:45.853Z",
"language":"de",
"gender":"unknown",
"employee_status_id":4,
"location_id":77,
"department_id":9
}
],
"current_page":1,
"per_page":30,
"total_entries":1
}