Employees
GET/v2/employees
GET/v2/employees/{id}
People of the portal with their manager and the names of their position, division, department and location OUs.
- Scope
obj_users_core:read- Cornerstone
users_core(Data Exporter)- OData
/v2/odata/Employees
Query parameters
limitintegeroptional- Rows per page, 50 by default, at most 200.
cursorstringoptional- The previous answer's
meta.cursor. sortstringoptional- A field name,
-in front for descending. Defaultid. fieldsstringoptional- Comma-separated field names to return.
filter[field][op]stringoptional- See Filtering.
asOfdateoptional- YYYY-MM-DD: the rows as they were at the end of that day (UTC). See Point in time.
Fields
idstring- Unique identifier of the row (Cornerstone
user_id) firstNamestring- First name (Cornerstone
user_name_first) lastNamestring- Last name (Cornerstone
user_name_last) emailstring- E-mail address (Cornerstone
user_email) statusstring- Status code as Cornerstone sends it (Cornerstone
user_status_id) hireDatedate-time- Original hire date (Cornerstone
user_hire_dt_orig) terminationDatedate-time- Termination date, empty while employed (Cornerstone
user_termination_dt) managerIdstring- The person's manager (user id) (Cornerstone
user_mgr_id) jobTitlestring- Name of the person's position OU
divisionstring- Name of the person's division OU
departmentstring- Name of the person's department OU
locationstring- Name of the person's location OU
curl "https://api.octo.taxi/v2/employees?limit=200" \
-H "Authorization: Bearer $OCTOTAXI_API_KEY"const res = await fetch("https://api.octo.taxi/v2/employees?limit=200", {
headers: { Authorization: `Bearer ${process.env.OCTOTAXI_API_KEY}` },
});
const { data, meta } = await res.json();import os, requests
res = requests.get(
"https://api.octo.taxi/v2/employees?limit=200",
headers={"Authorization": f"Bearer {os.environ['OCTOTAXI_API_KEY']}"},
)
body = res.json()