Skip to main content
PATCH
Update per-org notification preferences

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.

Body

application/json
leaveDecisions
boolean
regularizationDecisions
boolean
overtimeDecisions
boolean
swapDecisions
boolean
messages
boolean
punchReminders
boolean
payslips
boolean
form16
boolean

Response

200 - application/json

Success

leaveDecisions
boolean
required
regularizationDecisions
boolean
required
overtimeDecisions
boolean
required
swapDecisions
boolean
required
messages
boolean
required
punchReminders
boolean
required
payslips
boolean
required
form16
boolean
required