API ReferenceAudit Logs
Search Audit Logs
POST
Requires permission audit_log_read=view
HttpBearerAuthheader
AuthorizationBearer <JWT>application/json- body
page_number?Page NumberRange
0 < valueDefault
1datetime_from?|nulldatetime_to?|nullaction_types?array<>|nullobject_types?array<>|nullobject_id?integer|nullemployee_ids?array<integer>|nullis_system?boolean|nullinclude_details?Include DetailsDefault
falseSuccessful Response
application/json- response
items*array<>metadata*curl -X POST 'https://api.skailer.com/api/v1/audit-logs/search' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "items": [ { "id": 0, "datetime_created_at": "string", "action_type": "string", "details_type": "string", "employee_id": 0, "object_type": "string", "object_id": 0, "is_system": true, "details": {}, "impersonator_employee_id": 0 } ], "metadata": { "page_number": 1, "total_pages": 0, "items": 0, "items_per_page": 0, "total_items": 0 }}Get Organization List By Type GET
For `termination_leave_types` each item has `is_voluntary`; for other list types it is null
Get All Calendar Holidays GET
Returns the holiday calendars of the company. Which calendar applies to an employee: `POST /api/v1/calendar-holidays/employees/search`. Requires permission `manage_holidays=edit`.
