Reference
/- Get category or subcategory policies
List all business policy groups
Fetch all policy groups with their policies
Get business policies by policy group ID
Get a single business policy by ID
Get full business policy summary
Create or update a category / subcategory policy
Update a category or subcategory policy
Delete a category or subcategory policy
List policy approval workflows for the selected currency
Create a policy approval workflow for a currency
Create a new business policy
Update a business policy
Delete a business policy
Get category or subcatego...
🔒 Private label — contact sales. Requires a private-label entitlement on your API client.
Returns all business policies for the given type (SUBCATEGORY or CATEGORY). The policy group ID is resolved automatically — no need to pass it explicitly. When type is omitted, returns the combined CATEGORY + SUBCATEGORY policies (empty array if neither group exists — no 404 on that path).
Security
oauth2ClientCredentials(Required scopes: business-policies:read)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/business-policies/category-policies
- Productionhttps://api.boyahq.com/v2/business-policies/category-policies
- Sandboxhttps://sandbox.api.boyahq.com/v2/business-policies/category-policies
curl -i -X GET \
'https://developer.boyahq.com/_mock/v2/openapi/business-policies/category-policies?type=subcategory' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'business_id: string'Policies returned successfully
Array []
Parent policy group — either a MongoDB ObjectId string or an expanded PolicyRefV1Dto object
Response
[ { "_id": "string", "status": "ACTIVE", "policy": { … }, "business": "string", "policy_type": "string", "policy_code": "string", "employees": [ … ], "teams": [ … ], "budgets": [ … ], "priority": 0, "workflow": {}, "rules": [ … ], "name": "string", "description": "string", "createdAt": "string", "updatedAt": "string" } ]