Update User
The UPDATE_USER event is triggered whenever a user's basic information is updated. It is sent to every organization that has an active case for that user, and the payload always contains the latest user information.
The event fires when any of the following monitored fields change:
- Phone Number
- First Name
- Last Name
- Date of Birth (DOB)
- Gender
- isDeleted
Attributes
eventstringThe name of the event that was triggered. For this webhook, the value will always be `UPDATE_USER`.
payloadobjectThe main object containing all data related to the user update event.
Show child attributes
userobjectAn object containing the latest information of the user whose details were updated.
Show child attributes
idstringThe unique identifier of the user.
emailstringThe email address of the user.
firstNamestringThe first name of the user.
lastNamestringThe last name of the user.
dobstring<date-time> | nullThe date of birth of the user in ISO 8601 format. `null` if not set.
phoneNumberstring | nullThe phone number of the user, including country code. `null` if not set.
genderstring | nullThe gender of the user (e.g., MALE, FEMALE, OTHER). `null` if not set.
isDeletedbooleanIndicates whether the user has been deleted. `true` when the user was removed.
Response
{
"event": "UPDATE_USER",
"payload": {
"user": {
"id": "a9a2bJ9VcoVEPGgK9REMkjKIbl33",
"email": "john@example.com",
"firstName": "John",
"lastName": "Doe",
"dob": "1990-12-12T00:00:00.000Z",
"phoneNumber": "+12284746464",
"gender": "MALE",
"isDeleted": false
}
}
}