Get unread notifications count
Get unread notifications count
Query parameters
-
The types of notifications to include in the result
Values are
AskJoinPrivateSpot
,ChannelMessageMention
,ChannelMessageReported
,CourseGeneratedFailed
,CourseGeneratedSuccess
,CourseParticipantInvited
,DiscussionMessageReported
,DocumentMention
,HubspotConnectionLost
,LiveMention
,LiveMessageMention
,LiveMessageReported
,LiveParticipantInvited
,LiveStarted
,MemberAddedOnChannel
,MemberAddedToForum
,MemberAddedToCollection
,MessageReplied
,NewDirectMessage
,NewMessage
,ReportStatusUpdated
,SmtpServerConnectionFailed
,SpotMemberRoleUpdated
,SpotMention
,TopicAnswerReported
,TopicCreated
,TopicMention
,TopicMessageCreated
,TopicMessageMention
,TopicReported
,UserInvitedToSpot
, orUserJoinedPublicSpot
.
GET
/v1/spotMembers/{spotMemberId}/notifications~unreadCount
curl \
--request GET 'https://openapi.meltingspot.io/v1/spotMembers/{spotMemberId}/notifications~unreadCount'
Response examples (200)
{
"count": 42.0,
"countByTypes": [
{
"type": "AskJoinPrivateSpot",
"count": 42.0
}
]
}