Nurama Developers
Notification types

userAvatarUpdate

Fired when a avatars status is set to active.

Delivered as the notification socket event with type set to userAvatarUpdate.

Fired when a avatars status is set to active. Note that this is an asset event and not a user event so it is fired when the asset's status is set to active not when a user's object is updated.

Fired when a user updates their avatar.

Payload for the user avatar update event.

Token keys marked with (*) will be deprecated in a future release and should not be used for new development; replace them with the values and objects in the changes key in existing implementations.

Payload

PropertyTypeRequiredDescription
typestringyesThe specific type of notification event (matches the top-level key, e.g., 'workspaceCreate'). Every notification type is documented as its own event in this reference.
initiatorIdstring (uuid)noID of the user or system that initiated the event. Null if initiatorType is 'system'.
initiatorType"user" | "system"yesType of initiator (user or system).
initiatorobject | nullnoPopulated initiator user object (if initiatorType is 'user').
resourceIdstring (uuid)yesID of the primary resource this notification pertains to.
resourceTypestringyesType of the primary resource this notification pertains to.
channelsstring[]noThe specific channels this notification was published on. Present on notification objects returned by the REST API only; the socket 'notification' payload omits it (and id).
createdAtstring (date-time)yesTimestamp when the notification was created.
tokensobjectno
changesobjectno

tokens

PropertyTypeRequiredDescription
(*)userIdstring (uuid)no
(*)assetobjectnoThe asset object representing the new avatar.

changes

PropertyTypeRequiredDescription
updateobject | object[]no

update (items)

One of 2 variants:

Variant 1

PropertyTypeRequiredDescription
resourceIdstring (uuid)no
resourceTypestringno
resourceobjectno

Variant 2

PropertyTypeRequiredDescription
resourceIdstring (uuid)no
resourceTypestringno
resourceobjectno

On this page