Skip to content

project-contacts.deleted

Crewsum sends project-contacts.deleted when a contact is deleted.

project-contacts.deleted
  • The Delete Contact API endpoint (DELETE /v1/contacts/contacts/:id).
  • Deleting a contact 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.contacts is an array with one contact, sent with isDeleted: true. The Contacts API (/v1/contacts/contacts) sends project-contacts.* events. There is no contacts.* event.

{
"event": "project-contacts.deleted",
"data": {
"contacts": [
{
"id": "contact-jkl123mno4567890",
"name": "Dana Whitfield",
"description": "Operations manager",
"isArchived": false,
"createdAt": "2026-09-28T14:05:12.000Z",
"updatedAt": "2026-09-30T09:41:27.000Z",
"isDeleted": true,
"clientId": "client-ghi123jkl4567890",
"clientName": "Northwind Logistics",
"clientArchived": false,
"clientDeleted": false,
"email": "dana.whitfield@example.com",
"type": "EXTERNAL",
"userId": null,
"hasPortalAccess": true,
"associations": [
{
"projectId": "project-mno123pqr4567890",
"projectName": "Warehouse Automation Rollout",
"endCustomer": "Bayview Distribution Center",
"contactType": "MANAGER",
"notificationLevel": "COPY_WITH_LINK"
}
],
"supplierAssociations": []
}
]
}
}

Deleting a contact also removes its project associations. Crewsum does not send associations.removed for those.