clients.deleted
Crewsum sends clients.deleted when a client is deleted.
Event type
Section titled “Event type”clients.deletedWhen it is sent
Section titled “When it is sent”- The Delete Client API endpoint (
DELETE /v1/clients/clients/:id). - Deleting a client 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.clients is an array with one client. Crewsum keeps deleted records, so the client is sent with isDeleted: true.
{ "event": "clients.deleted", "data": { "clients": [ { "id": "client-ghi123jkl4567890", "name": "Northwind Logistics", "description": "Regional freight and warehousing", "isArchived": false, "createdAt": "2026-09-28T14:05:12.000Z", "updatedAt": "2026-09-30T09:41:27.000Z", "isDeleted": true, "customFields": { "region": "West" } } ] }}