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

require_once('gosquared-php-sdk/main.php');

$GS = new GoSquared(array(
  'site_token' => 'GSN-106863-S',
  'api_key' => 'demo'
));

$result = $GS->account->triggerTypes();

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

Query String Parameters

value

String

Pick a specific example for trigger types that have more than one. For message_event, one of email-sent, email-delivered, email-opened, email-bounced, email-complained, link-clicked. Ignored by other trigger types

Definition

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

Example Request

require_once('gosquared-php-sdk/main.php');

$GS = new GoSquared(array(
  'site_token' => 'GSN-106863-S',
  'api_key' => 'demo'
));

$result = $GS->account->triggerTypes->{triggerType}();

Live Responseundefined undefined

Your API Key is not authorised for this endpoint

Please fill in the required fields in the Query Builder