Trigger Types

Retrieve the types of triggers

GETaccount/triggerTypes

Retrieve the types of triggers.

Definition

GET https://api.gosquared.com/account/v1/triggerTypes
Open Query Builder
Close

Authentication

Parameters * required

    Post Data * required

    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

    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}
    Open Query Builder
    Close

    Authentication

    Parameters * required

    Post Data * required

    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