Skip to main content
GET
Per-employee audit log: paginated items with facets

Authorizations

Authorization
string
header
required

Issue keys in Settings → API. Send them as Authorization: Bearer ont_… (an X-Api-Key: ont_… header is also accepted). Session-cookie routes are used by the OnTime web apps and are shown for completeness.

Path Parameters

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Query Parameters

page
integer
default:1
Required range: 1 <= x <= 9007199254740991
pageSize
integer
default:50
Required range: 1 <= x <= 100
category
enum<string>
Available options:
Profile,
Compensation,
Attendance,
Leave,
Documents,
Devices,
Permissions,
Login,
Payroll,
Compliance,
Other
period
enum<string>
default:all
Available options:
today,
week,
month,
fy,
all

Response

200 - application/json

Success

items
object[]
required
total
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
page
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
pageSize
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
facets
object
required
periods
object
required