Notifications
Manage notification preferences, read state, and retrieve notifications for the authenticated user.
Endpoints
List notifications for the authenticated user
Scope
notifications:readParameters
unreadstringSet to "true" to filter to unread notifications onlylimitnumberNumber of notifications (max 100, default 50)offsetnumberPagination offset (max 10000, default 0)Response
{
"notifications": [
{
"id": "ntf_abc123",
"type": "comment",
"title": "New comment",
"body": "Jane commented on your post",
"read": false,
"resourceType": "post",
"resourceId": "pst_xyz789",
"createdAt": 1706795400000,
"actor": {
"id": "usr_def456",
"name": "Jane Smith",
"image": "/api/media/avatars/jane.jpg"
}
}
],
"total": 42,
"hasMore": true
}Get count of unread notifications
Scope
notifications:readMark all notifications as read
Scope
notifications:writeUpdate a notification (mark read/unread)
Scope
notifications:writeParameters
idstringrequiredNotification ID (URL path)readbooleanrequiredMark as read (true) or unread (false)Get notification preferences
Scope
notifications:readUpdate notification preferences
Scope
notifications:writeParameters
emailNewCommentbooleanEmail on new commentsemailNewReactionbooleanEmail on new reactionsemailNewPostbooleanEmail on new postsemailMentionbooleanEmail on mentionsemailDigestbooleanEmail digest notificationsemailTeamActivitybooleanEmail on team activitypushNewCommentbooleanPush on new commentspushNewReactionbooleanPush on new reactionspushNewPostbooleanPush on new postspushMentionbooleanPush on mentionspushTeamActivitybooleanPush on team activityinAppNewCommentbooleanIn-app on new commentsinAppNewReactionbooleanIn-app on new reactionsinAppNewPostbooleanIn-app on new postsinAppMentionbooleanIn-app on mentionsinAppTeamActivitybooleanIn-app on team activityglobalMutebooleanMute all notificationsquietHoursEnabledbooleanEnable quiet hoursquietHoursStartstringQuiet hours start time (HH:MM)quietHoursEndstringQuiet hours end time (HH:MM)quietHoursTimezonestringQuiet hours timezone (e.g. America/New_York)Offset-based Pagination
The notifications endpoint uses offset-based pagination. Use the offset and limit query parameters to paginate through results. The response includes a total count and hasMore flag.
Notification Preferences
Preferences are configured using flat boolean fields, prefixed by channel (email, push, inApp) and event type. Additional fields control global mute and quiet hours.
email*emailNewComment, emailNewReaction, emailNewPost, emailMention, emailDigest, emailTeamActivitypush*pushNewComment, pushNewReaction, pushNewPost, pushMention, pushTeamActivityinApp*inAppNewComment, inAppNewReaction, inAppNewPost, inAppMention, inAppTeamActivityglobalglobalMute, quietHoursEnabled, quietHoursStart, quietHoursEnd, quietHoursTimezone