Sources

Retrieve sources

GETnow/sources

Retrieves a list of sources that have referred visitors to the site, grouped by 'direct', 'organic', 'site' and 'social'. 'site', 'organic' and 'social' can be grouped by the engine/domain too.

Query String Parameters

limit

StringDefault Value: 0,10

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

drillLimit

StringDefault Value: 0,5

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

sections

StringDefault Value: direct,site,social,organic,internal

A comma separated list of source types to return. Any of direct,site,social,organic,internal

minimal

BooleanDefault Value: false

If true, returns a compacted version of the response

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/sources

Example Request

curl "https://api.gosquared.com/now/v3/sources?api_key=demo&site_token=GSN-106863-S" 

Live Responseundefined undefined

Your API Key is not authorised for this endpoint

Please fill in the required fields in the Query Builder

Retrieve group of sources

GETnow/sources/{sections}

Retrieves a specified group of sources such as 'site'.

Path Parameters

sections

StringRequired

The source type to return. One of direct,site,social,organic,internal

Query String Parameters

limit

StringDefault Value: 0,10

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

drillLimit

StringDefault Value: 0,5

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

minimal

BooleanDefault Value: false

If true, returns a compacted version of the response

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/sources/{sections}

Example Request

curl "https://api.gosquared.com/now/v3/sources/{sections}?api_key=demo&site_token=GSN-106863-S" 

Live Responseundefined undefined

Your API Key is not authorised for this endpoint

Please fill in the required fields in the Query Builder