tasks.deleted
Crewsum sends tasks.deleted when a task is deleted.
Event type
Section titled “Event type”tasks.deletedWhen it is sent
Section titled “When it is sent”- The Delete Task API endpoint (
DELETE /v1/tasks/tasks/:id). - Deleting a task in the Crewsum app.
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.tasks is an array with one task, sent with isDeleted: true.
{ "event": "tasks.deleted", "data": { "tasks": [ { "id": "task-pqr123stu4567890", "name": "Site Survey", "description": "Survey the site before installation", "isArchived": false, "createdAt": "2026-09-28T14:05:12.000Z", "updatedAt": "2026-09-30T09:41:27.000Z", "isDeleted": true, "clientId": "client-ghi123jkl4567890", "projectId": "project-mno123pqr4567890", "hoursBudget": 40, "submittedHours": 0, "billingCategory": "BILLABLE", "clientName": "Northwind Logistics", "projectName": "Warehouse Automation Rollout", "projectEndCustomer": "Bayview Distribution Center", "clientDeleted": false, "clientArchived": false, "projectDeleted": false, "projectArchived": false, "isDefault": false, "autoAssign": false } ] }}