Social
Notification Object JSON Example
A JSON example for an in-app or push notification — includes notification type, actor, action subject, deep-link, read status, and grouping metadata.
Field Reference
idrequiredstringUnique notification identifierrecipientIdrequiredstringUser ID who should receive this notificationtyperequiredstringNotification type in dot notation: entity.action (post.liked, comment.replied, follow.new)actoroptionalobjectUser who triggered the notification — absent for system notificationssubjectoptionalobjectThe content item the notification is about — post, comment, product, etc.deepLinkoptionalstringIn-app path or URL to navigate to when the notification is tappedisReadrequiredbooleanWhether the user has read/dismissed this notificationpriorityoptionalstringDelivery priority: normal, high, or urgent (affects push delivery speed)channelrequiredstringDelivery channel: in-app, push, email, or smsVariants
GroupedMultiple likes grouped into a single notification.
Common Use Cases
- →Rendering a notification feed sorted by createdAt with unread count badge
- →Sending push notifications via Firebase Cloud Messaging (FCM) or APNs
- →Marking notifications as read via PATCH /notifications/:id
notificationpushin-appreal-timealert
Validate or format this JSON
One click loads this exact example into the tool — no copy-paste needed. Format it, validate it, explore the tree, or generate TypeScript types instantly.
Frequently Asked Questions
Related JSON Examples
SocialSocial Media PostSocial post with author info, text content, media, engagement counters, and hashtags.ContentPush NotificationPush notification with title, body, deep-link data, and platform-specific options.API DesignUser ProfileStandard user profile JSON with personal info, address, and account metadata.