Overview
The Client Updated Webhook triggers whenever there is an update to a client’s primary information. This webhook ensures that all connected systems are immediately aware of changes to client data, helping to keep records accurate and up-to-date.
Trigger Event:
-
Activated whenever there’s a change in a client’s primary information.
Event Type:
-
clientUpdated
Payload Details:
-
clientID: Unique identifier for the client.
-
siteID: Identifier for the site associated with the client.
-
firstName: Client’s updated first name.
-
lastName: Client’s updated last name.
-
email: Client’s updated email address.
-
phone: Client’s updated phone number.
-
joinDate: Date when the client originally joined.
-
leadSource: Updated source through which the client was acquired.
-
gender: Client’s updated gender.
-
emergencyFirstName: Updated first name of the client’s emergency contact.
-
emergencyLastName: Updated last name of the client’s emergency contact.
-
emergencyEmail: Updated email of the client’s emergency contact.
-
emergencyPhone: Updated phone number of the client’s emergency contact.
-
barcodeID: Updated barcode ID associated with the client.
-
address: Client’s updated address.
-
birthDate: Client’s updated date of birth.
-
customProperties: Any updated custom properties associated with the client.
-
profileImage: Updated URL of the client’s profile image.
Usage Example:
-
Ensure that updates to client information in Hapana are reflected across all integrated systems.
-
Trigger notifications or follow-up actions when a client’s contact information is changed.
Payload response example:
Below is an example of the JSON payload that might be received when the Client Updated Webhook is triggered: