Skip to main content
GET
Unified pending approvals (leave + regularization) for the

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.

Query Parameters

filter
enum<string>
default:All
Available options:
All,
Leave,
Regularize,
Overtime

Response

200 - application/json

Success

filter
enum<string>
required
Available options:
All,
Leave,
Regularize,
Overtime
counts
object
required
urgent
object[]
required
thisWeek
object[]
required