Skip to content

projects.deleted

Crewsum sends projects.deleted when a project is deleted.

projects.deleted
  • The Delete Project API endpoint (DELETE /v1/projects/projects/:id).
  • Deleting a project 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.

data.projects is an array with one project, sent with isDeleted: true.

{
"event": "projects.deleted",
"data": {
"projects": [
{
"id": "project-mno123pqr4567890",
"name": "Warehouse Automation Rollout",
"description": "Conveyor and scanner installation",
"isArchived": false,
"createdAt": "2026-09-28T14:05:12.000Z",
"updatedAt": "2026-09-30T09:41:27.000Z",
"isDeleted": true,
"clientId": "client-ghi123jkl4567890",
"clientName": "Northwind Logistics",
"clientDeleted": false,
"clientArchived": false,
"endCustomerId": "endcustomer-abc123def4567890",
"endCustomerName": "Bayview Distribution Center",
"endCustomerDeleted": false,
"endCustomerArchived": false,
"hoursBudget": 400,
"submittedHours": 0,
"billingCategory": "BILLABLE",
"completed": false,
"autoAssign": false,
"customFields": {
"poNumber": "PO-1042"
},
"clientCustomFields": {
"region": "West"
},
"associations": [
{
"contactId": "contact-jkl123mno4567890",
"contactName": "Dana Whitfield",
"contactEmail": "dana.whitfield@example.com",
"contactType": "MANAGER",
"notificationLevel": "COPY_WITH_LINK"
}
]
}
]
}
}

Deleting a project also removes its contact associations and its default task. Crewsum does not send associations.removed or tasks.deleted for those.