Notifications
Retrieve notifications
GETnow/notifications
Retrieves a list of notifications stored in GoSquared. Notifications are displayed on the Now and Trends dashboards as markers along the timeline and as part of the notifications widget.
These Notifications can include:
- Traffic Alerts
- RSS items from feeds
- Manually added Milestones
Query String Parameters
from | String The start date-time for the query |
to | String The end date-time for the query |
limit | StringDefault Value: The maximum number of results e.g. |
dateFormat | String The format that any date parameters will be returned in. This takes any value permitted by Moment. |
Example Request
var GoSquared = require('gosquared');
var gosquared = new GoSquared({
api_key: 'demo',
site_token: 'GSN-106863-S'
});
gosquared.now.v3.notifications(function(err, res) {
if (err) return console.log(err);
console.log(res);
});
Live Responseundefined undefined
Your API Key is not authorised for this endpoint
Please fill in the required fields in the Query Builder