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: 0,10

The maximum number of results e.g. 10 to return with an optional offset e.g. 5,10

dateFormat

String

The format that any date parameters will be returned in. This takes any value permitted by Moment.

Definition

GET https://api.gosquared.com/now/v3/notifications

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