Nurama Developers
Notification types

inviteAccept

Fired when an invitation is accepted.

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

Fired when an invitation is accepted.

Payload for the inviteAccept 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
(*)requesterIdstring (uuid)noDeprecated. Use initiatorId.
(*)requesterobjectnoDeprecated. Use initiator.
(*)resourceTypestringnoDeprecated.
(*)resourceIdstring (uuid)noDeprecated.
(*)rolestringnoDeprecated.
(*)inviteobjectnoDeprecated. The invite object that was accepted.
(*)membershipobjectnoDeprecated. The newly created membership object.

changes

PropertyTypeRequiredDescription
updateobject | object[]no

update (items)

One of 2 variants:

Variant 1

PropertyTypeRequiredDescription
resourceIdstring (uuid)noNote: the ID of the resource the membership belongs to (not the membership ID).
resourceType"membership"no
resourceobjectnoThe membership created by accepting the invite.

Variant 2

PropertyTypeRequiredDescription
resourceIdstring (uuid)noNote: the ID of the resource the invite belongs to (not the invite ID).
resourceType"invite"no
resourceobjectnoThe accepted invite.

On this page