- Getting started
- Organizations
- Locations
- Staff members
- Roles
- Time Tracking
- Breaks
- Timesheets
- Time Off
- Requests and Approval
- Shift Notes
- Schedules API
- Notifications
- Payroll API
Create Policy
POST
/api/organizations/{organization_id}/policies
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/organizations//policies' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
{}
Request
Path Params
organization_id
string
required
Body Params application/json
name
string
required
typeId
string
required
paid
boolean
required
units
enum<string>
required
Allowed values:
dayshours
limitSettings
object
required
isFixedAmount
boolean
required
fixedAmount
object
required
requiresApproval
boolean
required
carryover
boolean
required
allowNegativeBalance
boolean
required
default
boolean
required
fullDayDuration
number
required
workerPolicies
array[object (NewWorkerPolicyDto) {3}]
required
workerId
string
required
hoursBalance
number
required
isIncluded
boolean
required
Examples
Responses
🟢201Created
application/json
Body
object {0}