Manage employees in Exsited: list, create, retrieve, update and delete employee records.
Employees are the staff records in Exsited, each with a code, contact details and custom attributes. You can list, create, retrieve, update and delete them. This area has 5 endpoints, each available in all seven SDKs.
Deleting an employee cannot be undone. After a delete, reading the employee returns 404.
Register your API credentials once when your app starts, as shown in
Authentication. Every SDK sample on these pages then gets its client in one line.
With cURL, send the access token in an Authorization header: Authorization: Bearer $ACCESS_TOKEN.
Request bodies go under employee. Both the create and the update wrap their fields in an employee object, and every single-employee response returns it under employee.
An employee has both an id and a code. The id starts with emp_ and is what these calls take; the milestones-by-employee call takes the code instead.
A new employee needs only a name. The response gives its id, code and the rest of the record.
The list pages by cursor. Records are under data; pass pagination.next_cursor as cursor while pagination.has_more is true.