timesheet.deleted
Crewsum sends timesheet.deleted when an administrator deletes a timesheet.
Event type
Section titled “Event type”timesheet.deletedWhen it is sent
Section titled “When it is sent”- Deleting a timesheet in the Crewsum app (administrators only).
Crewsum sends the event only after the change is saved. A request that fails or is rejected sends no event. See Delivery for timing and retries.
Payload
Section titled “Payload”data.timesheet is the timesheet as it was just before the deletion.
{ "event": "timesheet.deleted", "data": { "timesheet": { "timesheetId": "acme#alex.rivera#20260926_20261002", "tenantId": "acme", "userId": "acme#alex.rivera", "userFullName": "Alex Rivera", "periodStart": "2026-09-26", "periodEnd": "2026-10-02", "submittedAt": "2026-10-02T23:12:45.000Z", "resubmissionAllowed": false, "supplierId": null, "supplierName": null, "timeCards": [ { "data": { "Saturday": { "isoDate": "2026-09-26", "hours": 0, "description": null, "review": null, "reviewComment": null }, "Sunday": { "isoDate": "2026-09-27", "hours": 0, "description": null, "review": null, "reviewComment": null }, "Monday": { "isoDate": "2026-09-28", "hours": 8, "description": "On-site survey", "review": null, "reviewComment": null }, "Tuesday": { "isoDate": "2026-09-29", "hours": 8, "description": "On-site survey", "review": null, "reviewComment": null }, "Wednesday": { "isoDate": "2026-09-30", "hours": 6, "description": "On-site survey", "review": null, "reviewComment": null }, "Thursday": { "isoDate": "2026-10-01", "hours": 0, "description": null, "review": null, "reviewComment": null }, "Friday": { "isoDate": "2026-10-02", "hours": 0, "description": null, "review": null, "reviewComment": null } }, "managerComments": null, "clientId": "client-ghi123jkl4567890", "clientName": "Northwind Logistics", "projectId": "project-mno123pqr4567890", "projectName": "Warehouse Automation Rollout", "projectBillingCategory": "BILLABLE", "reviewedAt": null, "approverName": null, "approverEmail": null, "status": "pending", "taskId": "task-pqr123stu4567890", "isDefault": false, "taskName": "Site Survey", "taskBillingCategory": "BILLABLE", "timesheetId": "acme#alex.rivera#20260926_20261002", "userFullName": "Alex Rivera", "userId": "acme#alex.rivera", "clientCustomFields": { "region": "West" }, "projectCustomFields": { "poNumber": "PO-1042" } } ], "userCustomFields": { "employeeNumber": "E-2041" } } }}Related API calls
Section titled “Related API calls”The public API cannot delete timesheets, so no API call sends this event. Use these endpoints to reconcile timesheets.