Skip to content

users.updated

Crewsum sends users.updated when a user is updated.

users.updated
  • The Update User API endpoint (PUT /v1/users/users/:id).
  • Editing a user 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.users is an array with one user, as it is after the update.

{
"event": "users.updated",
"data": {
"users": [
{
"userId": "acme#alex.rivera",
"email": "alex.rivera@example.com",
"displayName": "Alex Rivera",
"systemRole": "assoc",
"customFields": {
"employeeNumber": "E-2041"
},
"supplierId": null,
"startDate": "2026-01-05",
"endDate": null,
"createdAt": "2026-09-28T14:05:12.000Z",
"updatedAt": "2026-09-30T09:41:27.000Z",
"preferredTimezone": "America/Denver",
"groups": [
{
"id": "group-abc123def4567890",
"name": "Field Technicians",
"description": "On-site installation crew",
"userCount": 4,
"createdAt": "2026-09-28T14:05:12.000Z",
"updatedAt": "2026-09-28T14:05:12.000Z"
}
]
}
]
}
}

groups lists the user groups the user belongs to and can be missing.