Properties
idstringThe unique identifier for this item. createdAt
stringThe date this item was created in RFC3339 format. object
stringThe object type of this resource. senderId
stringThe ID of the entity sending the notification. This can be a internal user / client user or a company. The type of the id is represented by
senderType.
senderType client / internalUser / companyThe type of entity the
senderId refers to.
stringDeprecated in favor or recipientClientId, recipientCompanyId, and recipientInternalUserId. recipientClientId
stringThe ID of the client that this notification is intended for. This will be empty if the recipient is not a client. recipientCompanyId
stringThe ID of the company that this notification is intended for. This is paired with
recipientClientId and represents which of the client’s companies this notification is associated with.
recipientInternalUserId stringThe ID of the internal user that this notification is intended for. This will be empty if the recipient is not an internal user. event
stringThis represents the event the notification was issued for. Below is the set of events and the possible recipients.
appId
string (optional)This is populated when the notification is create via a custom app. This contains the
appId of the custom app that was used to create the notification.
resourceId stringContains the id of the resource associated with the notification. This refers to different entities based on the notification event:
deliveryTargets
objectThis will have the following keys:
inProduct- relevant to the notification delivered in the web app
◦titlestring Label used in the notification title in the webapp ◦bodystring Used for custom app notifications. This contains the details of the notifications showed in the notifications page ◦isReadstring Indicates if the notification has been read ◦ctaParamsobject Key/value pairs that will be included in the search parameters when clicking on the notification’s call to action in product. This call to action is shown in the Notification Center for internal users.email- relevant to the notification delivered via email (if applicable)
◦bodystring Body of the email sent ◦subjectstring Subject of the email sent ◦headerstring Header in the email body sent ◦titlestring CTA title shown in the email ◦ctaParamsobject Key/value pairs that will be included in the search parameters when clicking on an email notification’s call to action.
Example Client Notification Object
Example Internal User Notification Object