Creates a new task assigned to an employee. Initial status is TODO. Admin only.
Request
Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Body Params application/jsonRequired
Example
{"title":"Build Dashboard UI","description":"Create responsive dashboard with charts and analytics","employeeId":"cm5emp001","priority":"HIGH","deadline":"2026-03-01T00:00:00.000Z","skillRequired":"React"}
{"success":true,"data":{"id":"cm5task001","orgId":"cm5abc123def456","employeeId":"cm5emp001","title":"Build Dashboard UI","description":"Create responsive dashboard with charts and analytics","status":"TODO","priority":"HIGH","deadline":"2026-03-01T00:00:00.000Z","completedAt":null,"txHash":null,"skillRequired":"React","createdAt":"2026-02-21T09:00:00.000Z","updatedAt":"2026-02-21T09:00:00.000Z"},"message":"Task created successfully"}