Works
Create a work
POST /work/works
POST
Create a work
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
POST /work/works Description: Creates aCWRWork for the caller’s tenant. No dedicated request
validator — accepts any writable CWRWork field and surfaces
Sequelize validation failures as a 400.
Authorization:
- Required role:
adminor higher
Code Examples
Authorizations
Body
application/json
Accepts any CWRWork writable field; tenantId is set server-side from the caller's active workspace and any client-supplied value is overwritten. No dedicated request validator exists — invalid combinations surface as a 400 from Sequelize model validation.
Response
Work created