New to Corsair? See API access, authentication, and error handling.
Account
get
account.get
Retrieve information about the account that owns the API key
Risk: read
getToken
account.getToken
Retrieve metadata about the API token used to make the request
Risk: read
Events
create
events.create
Create an event (deprecated: returns 410 Gone; track directly on site)
Risk: write
Output
delete
events.delete
Delete an event by ID (deprecated: returns 410 Gone)
Risk: destructive
Output
deleteByName
events.deleteByName
Remove an event’s currency setting by name (the event and its completions stay; set it again with events.setCurrency)
Risk: write
Output
get
events.get
Retrieve a single event by ID (deprecated: returns 410 Gone)
Risk: read
Output
list
events.list
List all events tracked by a site with pagination
Risk: read
Output
data full type
data full type
setCurrency
events.setCurrency
Set or update the currency for an event by name
Risk: write
Output
update
events.update
Update an event by ID (deprecated: returns 410 Gone)
Risk: write
Output
wipe
events.wipe
Wipe event completion data (deprecated: returns 410 Gone)
Risk: destructive
Output
Milestones
create
milestones.create
Create a new milestone for a site
Risk: write
Output
delete
milestones.delete
Permanently delete a milestone from a site
Risk: destructive
Output
get
milestones.get
Retrieve a single milestone by its ID
Risk: read
Output
list
milestones.list
List all milestones for a site with pagination
Risk: read
Output
data full type
data full type
update
milestones.update
Update a milestone name or date by its ID
Risk: write
Output
Reports
aggregation
reports.aggregation
Generate custom aggregation reports across pageviews or events
Risk: read
filters full type
filters full type
Record<string, string \| number \| null>[]
currentVisitors
reports.currentVisitors
Get real-time current visitor count and optional page/referrer breakdown
Risk: read
Output:
object
Output full type
Output full type
Sites
create
sites.create
Create a new site entity in Fathom Analytics
Risk: write
Output
delete
sites.delete
Permanently delete a site and all associated analytics data
Risk: destructive
Output
get
sites.get
Retrieve details of a single site by its ID
Risk: read
Output
list
sites.list
List all sites owned by the account with pagination
Risk: read
Output
data full type
data full type
update
sites.update
Update site settings such as name, sharing, or timezone
Risk: write
Output
wipe
sites.wipe
Wipe all data from a site (deprecated: returns 410 Gone)
Risk: destructive
Output