List all worker policies
GET
/api/organizations/{organization_id}/worker-policies
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/organizations//worker-policies?policies'
Response Response Example
{
"workersByPolicy": {
"worker-123": {
"policy-123": {
"hoursBalance": 40,
"isIncluded": true
},
"policy-456": {
"hoursBalance": 20,
"isIncluded": false
}
},
"worker-456": {
"policy-123": {
"hoursBalance": 40,
"isIncluded": true
},
"policy-456": {
"hoursBalance": 20,
"isIncluded": false
}
}
}
}
Request
Path Params
organization_id
stringĀ
required
Query Params
policies
array[string]
required