Get a list of the current user's notifications. Valid for Communifire version 5.2 and above.
GET https://myintranet.communifire.com/api/notifications?StartPage=1&PageLength=2
Notifications JSON object is returned as ResponseData.
{ "IsError": false, "ResponseMessage": "", "ResponseData": [ { "ID": 3, "SpaceID": 2, "SpaceName": "Human Resources", "SpaceURL": "https://myintranet.communifire.com/spaces/2/human-resources", "EntityID": 2, "ParentEntityID": 0, "EntityType": 10, "ActivityAction": 60, "DateCreated": "2019-02-04T04:26:19.153", "DateCreatedString": "59 seconds ago", "NewsFeedText": "Alexis Fox @mentioned you in: Laura Carter You should join this space", "IsRead": false, "DateRead": "2019-02-04T04:27:18.7004558Z", "URL": "https://myintranet.communifire.com/spaces/2/human-resources/wall/post/2", "FromUserID": 5, "FromUserInfoDisplayName": "Alexis Fox", "FromUserAvatarImageURL": "https://myintranet.communifire.com/assets/Themes/default/images/avatar-default.jpg", "FromUserProfileURL": "http://myintranet.communifire.com/people/alexis", "ActionText": "@mentioned you in", "Subject": "Laura Carter You should join this space", "EntityTypeID": 10, "ContentTypeID": 0, "TenantID": 0 }, { "ID": 2, "SpaceID": 2, "SpaceName": "Human Resources", "SpaceURL": "https://myintranet.communifire.com/spaces/2/human-resources", "EntityID": 1, "ParentEntityID": 0, "EntityType": 15, "ActivityAction": 15, "DateCreated": "2019-02-04T04:25:46.403", "DateCreatedString": "a minute ago", "NewsFeedText": "Alexis Fox invited you to a space: Human Resources", "IsRead": false, "DateRead": "2019-02-04T04:27:18.7004558Z", "URL": "https://myintranet.communifire.com/spaces/2/human-resources", "FromUserID": 5, "FromUserInfoDisplayName": "Alexis Fox", "FromUserAvatarImageURL": "https://myintranet.communifire.com/assets/Themes/default/images/avatar-default.jpg", "FromUserProfileURL": "https://myintranet.communifire.com/people/alexis", "ActionText": "invited you to a space", "Subject": "Human Resources", "EntityTypeID": 15, "ContentTypeID": 0, "TenantID": 0 } ], }
Please Note The content type that you pass in the header of your request should be application/json.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/22580/rest-api-get-notifications?locale=en-US%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1
Your session has expired. You are being logged out.