Skip to main content
The Personal API manages the employee roster. Each employee record holds identifying information and a hire date that is used to calculate their vacation period.
All endpoints require a valid Authorization: Bearer <token> header. See Authentication for details.

List employees

Returns all employee records stored in the system.

GET /api/personal

No request body. ResponsePersonal[]
string
required
Unique identifier for the employee.
string
required
First name.
string
required
Last name.
string
required
Email address.
string
required
Job title or position.
string
required
Hire date as an ISO 8601 date string (e.g. "2024-03-15"). The vacation period begins one year after this date.

Create an employee

Creates a new employee record.

POST /api/personal

string
required
Client-generated UUID for the employee.
string
required
First name.
string
required
Last name.
string
required
Email address.
string
required
Job title or position.
string
required
Hire date in ISO 8601 format (e.g. "2024-03-15").
Response — the created Personal object.

Delete an employee

Deletes an employee by their ID.

DELETE /api/personal/:id

string
required
The UUID of the employee to delete.
No request body. Response200 OK on success. The response body may be empty or contain a confirmation message.
Deleting an employee does not automatically delete their associated vacation schedules or ranges. Clean up related records in the Schedules and Ranges endpoints as needed.