New to Corsair? See API access, authentication, and error handling.
Account
createSite
account.createSite
Create and provision a new site for tracking in GoSquared
Risk: write
Output
getBlocked
account.getBlocked
Retrieve blocked IP addresses and bot settings for a site
Risk: read
Output
visitors full type
visitors full type
ips full type
ips full type
getSharedUsers
account.getSharedUsers
Retrieve team members with access to a GoSquared project
Risk: read
Output
list full type
list full type
getSite
account.getSite
Retrieve configuration and details for a specific site
Risk: read
Output
getSites
account.getSites
Retrieve all sites accessible by the GoSquared account
Risk: read
Output:
object[] \| object
Output full type
Output full type
Auth
getTokenInfo
auth.getTokenInfo
Validate API key and retrieve associated scopes and token info
Risk: read
Chat
archiveChat
chat.archiveChat
Archive an active chat conversation
Risk: write
Output
getChat
chat.getChat
Retrieve a specific live chat conversation by ID
Risk: read
Output:
Record<string, any>
getChatFeed
chat.getChatFeed
Retrieve message history and event feed for a chat
Risk: read
Output:
Record<string, any>[] \| Record<string, any>
getChats
chat.getChats
Retrieve active conversation threads in GoSquared Live Chat
Risk: read
Output:
Record<string, any>[] \| Record<string, any>
sendMessage
chat.sendMessage
Send a message in a chat conversation
Risk: destructive
Output
unarchiveChat
chat.unarchiveChat
Unarchive a previously archived chat conversation
Risk: write
Output
Now
getBrowsers
now.getBrowsers
Retrieve browsers currently in use by active visitors
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getCampaigns
now.getCampaigns
Retrieve active marketing campaigns driving current traffic
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getConcurrents
now.getConcurrents
Retrieve current count of concurrent visitors online
Risk: read
Output
getCountries
now.getCountries
Retrieve countries of origin for active online visitors
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getGeo
now.getGeo
Retrieve real-time visitor geographic coordinate clusters
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getOverview
now.getOverview
Retrieve real-time summary of concurrent visitors and traffic
Risk: read
Output
getPages
now.getPages
Retrieve top active pages viewed right now
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getPlatforms
now.getPlatforms
Retrieve operating platforms used by active online visitors
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getSources
now.getSources
Retrieve current traffic sources referring active visitors
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getTimeSeries
now.getTimeSeries
Retrieve recent time series of concurrent visitor activity
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getVisitors
now.getVisitors
Retrieve detailed list of active concurrent visitors
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
People
deletePerson
people.deletePerson
Permanently delete a person profile and all its data from People CRM
Risk: destructive
Output
getDevice
people.getDevice
Retrieve technical specifications for a single device
Risk: read
Output:
Record<string, any>
getDevices
people.getDevices
Retrieve paginated list of all tracked user devices
Risk: read
Output:
Record<string, any>[] \| Record<string, any>
getEventTypes
people.getEventTypes
Retrieve custom event type definitions in People CRM
Risk: read
Output:
string[] \| Record<string, any>
getPeople
people.getPeople
Search and query customer profiles in People CRM
Risk: read
Output:
Record<string, any>[] \| Record<string, any>
getPerson
people.getPerson
Retrieve a specific person profile by ID or email
Risk: read
Output:
Record<string, any>
getPersonDevices
people.getPersonDevices
Retrieve devices associated with a person in People CRM
Risk: read
Output:
Record<string, any>[] \| Record<string, any>
getPersonFeed
people.getPersonFeed
Retrieve chronological interaction feed for a person
Risk: read
Output:
Record<string, any>[] \| Record<string, any>
getPropertyTypes
people.getPropertyTypes
Retrieve user property type definitions in People CRM
Risk: read
Output:
string[] \| Record<string, any>
getSmartGroups
people.getSmartGroups
Retrieve saved smart groups and segment criteria
Risk: read
Output:
Record<string, any>[] \| Record<string, any>
Tracking
identify
tracking.identify
Identify or update user profile traits in People CRM
Risk: write
properties full type
properties full type
trackEvent
tracking.trackEvent
Track a custom user event with optional event data
Risk: write
event full type
event full type
trackPageview
tracking.trackPageview
Track a pageview with URL and page title
Risk: write
page full type
page full type
trackTransaction
tracking.trackTransaction
Track an e-commerce purchase transaction with line items
Risk: write
transaction full type
transaction full type
Trends
getAggregate
trends.getAggregate
Retrieve aggregate historical trends and total metrics
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getBrowser
trends.getBrowser
Retrieve historical traffic breakdown by browser
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getCountry
trends.getCountry
Retrieve historical traffic breakdown by country
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getEvent
trends.getEvent
Retrieve historical custom event tracking metrics
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getLanguage
trends.getLanguage
Retrieve historical traffic breakdown by visitor language
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getOrganisation
trends.getOrganisation
Retrieve historical traffic by visiting organization/ISP
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getOs
trends.getOs
Retrieve historical traffic breakdown by operating system
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getPage
trends.getPage
Retrieve historical pageview and URL performance metrics
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getPath1
trends.getPath1
Retrieve historical top-level URL path segment metrics
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getScreenDimensions
trends.getScreenDimensions
Retrieve historical screen resolution metrics
Risk: read
Output:
Record<string, any> \| Record<string, any>[]
getSources
trends.getSources
Retrieve historical traffic sources and referral channels
Risk: read
Output:
Record<string, any> \| Record<string, any>[]