Nurama Developers
Notification types

assetChatActivity

Fired when an asset's chat has activity worth surfacing as a peek card.

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

Fired when an asset's chat has activity worth surfacing as a peek card.

Drives the activity card that previews an asset chat in the parent feed. Carries a snapshot — recent messages, participants and counts — so the card renders without a second round trip. It is platform chrome rather than a message a subscriber asked for, which is why the outbound-webhook predicate filters system messages off the wire.

Payload for the assetChatActivity event.

Payload

PropertyTypeRequiredDescription
typestringyesThe specific type of notification event (matches the top-level key, e.g., 'workspaceCreate'). Every value in notificationTemplates (config/notifications.js) is documented in this tag.
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

tokens

PropertyTypeRequiredDescription
assetIdstringno
assetobjectno
chatIdstringno
chatSubjectstring | nullno
visibilitystringno
projectIdstringno
participantsobject[]no
participantCountintegerno
recentMessagesobject[]noSnapshot of the latest messages, so the card renders without a second fetch.
messageCountintegerno
lastActivityAtstring | nullno

On this page