Organisations

Retrieve list of organisations

GETnow/organisations

Retrieves a list of the different internet organisations that currently online visitors are using, sorted by the number of visitors per organisation.

Query String Parameters

limit

StringDefault Value: 0,5

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

presenter

StringDefault Value: truncatedList

Accepted values: truncatedList, list, truncatedObject, object

Modifies the response data structure

  • truncatedList: A list of items including the sum of "other" values
  • list: A list of items
  • truncatedObject: A key:value object of item:count including the sum of "other" values
  • object: A key:value object of item:count
Run in PostmanPostman is a useful developer tool for experimenting with and managing APIs that you work with

Definition

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

Example Request

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

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

$result = $GS->now->organisations();

Live Responseundefined undefined

Your API Key is not authorised for this endpoint

Please fill in the required fields in the Query Builder