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.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CKoldo/Vacaciones-front/llms.txt
Use this file to discover all available pages before exploring further.
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.
Response — Personal[]
Unique identifier for the employee.
First name.
Last name.
Email address.
Job title or position.
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
Client-generated UUID for the employee.
First name.
Last name.
Email address.
Job title or position.
Hire date in ISO 8601 format (e.g.
"2024-03-15").Personal object.
Delete an employee
Deletes an employee by their ID.DELETE /api/personal/:id
The UUID of the employee to delete.
200 OK on success. The response body may be empty or contain a confirmation message.
