Trigger Types

Retrieve the types of triggers

GETaccount/triggerTypes

Retrieve the types of triggers.

Definition

GET https://api.gosquared.com/account/v1/triggerTypes

Example Request

var GoSquared = require('gosquared');
var gosquared = new GoSquared({
  api_key: 'demo',
  site_token: 'GSN-106863-S'
});

gosquared.account.v1.triggerTypes(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

Retrieve a type of trigger

GETaccount/triggerTypes/{triggerType}

Retrieve a type of trigger.

Path Parameters

triggerType

StringRequired

Definition

GET https://api.gosquared.com/account/v1/triggerTypes/{triggerType}

Example Request

var GoSquared = require('gosquared');
var gosquared = new GoSquared({
  api_key: 'demo',
  site_token: 'GSN-106863-S'
});

gosquared.account.v1.triggerTypes.{triggerType}(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