Appendix B: The Janrain Webhook Notification

When a user profile is created, modified, or deleted, a Janrain webhook sends a notification to ProfileSync. If ProfileSync is unable to complete data delivery, that same JSON object is written to the dead-letter-queue. The JSON object in question includes the following fields:

Field

Description

entityType

The Janrain entityType (user profile database) that contains the modified user profile.

tenant

Internal code used to distinguish target applications.

source

Source of the event. This will typically be JANRAIN.

user

The UUID of the user whose profile has been created, modified, or deleted.

type

Either a null value or a hashed value indicating the type of action that took place (e.g., "update"). 

subtype

Either a null value or a hashed value indicating the subject of the action that took place (for example, "email" if the action that took place was to update the user's email address). 

client

Client ID of the Janrain API client involved in the event.

timestamp

Date and time when the event took place.