How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Umami Websites API

Website management and configuration

Umami Websites API is one of 17 APIs that Umami publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 28 JSON Schema definitions.

Tagged areas include Websites. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, and 28 JSON Schemas.

This API exposes 94 operations across 76 paths, and defines 20 schemas. It is described by OpenAPI 3.2.0, at version 3.3.1.

Requests are made against a single base URL, https://{instance}.

94 operations 76 paths 20 schemas 6 DELETE74 GET14 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
3.3.1
Base URL
https://api.umami.is/v1
Authentication
HTTP Bearer, API Key, API Key
License
MIT
Resource Areas
1

Authentication & Security 3

Umami Websites API declares 3 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). An API key is passed in the header as x-umami-share-context (shareContext). An API key is passed in the header as x-umami-share-token (shareToken).

  • bearerAuth — Token returned by POST /api/auth/login, or an API key (umami…) created under Settings → API keys (self-hosted only).
  • shareContext — Required context header when authenticating with a share token.
  • shareToken — Signed token returned by a share endpoint.

Paths & Operations 94

Across 76 paths, the API surfaces 94 operations — 6 DELETE, 74 GET, 14 POST. Each is listed below with its method, path, parameters, and response codes.

Websites 94
GET
/api/websites
List websites
listWebsites 7 params → 200400401
POST
/api/websites
Create a website
createWebsite body → 200400401
DELETE
/api/websites/{websiteId}
Delete a website
deleteWebsite 1 param → 200401
GET
/api/websites/{websiteId}
Get a website
getWebsite 1 param → 200401
POST
/api/websites/{websiteId}
Update a website
updateWebsite 1 param body → 200400401500
GET
/api/websites/{websiteId}/active
Get active website visitors
getWebsiteActive 1 param → 200401
GET
/api/websites/{websiteId}/annotations
List website annotations
getWebsiteAnnotations 7 params → 200400401
POST
/api/websites/{websiteId}/annotations
Create a website annotation
createWebsiteAnnotation 1 param body → 200400401
DELETE
/api/websites/{websiteId}/annotations/{annotationId}
Delete a website annotation
deleteWebsiteAnnotation 2 params → 200401404
GET
/api/websites/{websiteId}/annotations/{annotationId}
Get a website annotation
getWebsiteAnnotation 2 params → 200401404
POST
/api/websites/{websiteId}/annotations/{annotationId}
Update a website annotation
updateWebsiteAnnotation 2 params body → 200400401404
GET
/api/websites/{websiteId}/attribution
Get website attribution
getWebsiteAttribution 34 params → 200400401404
GET
/api/websites/{websiteId}/breakdown
Get website breakdown
getWebsiteBreakdown 31 params → 200400401404
GET
/api/websites/{websiteId}/daterange
Get the website's available date range
getWebsiteDateRange 1 param → 200401
GET
/api/websites/{websiteId}/event-data
List events with custom properties
getEventData 31 params → 200400401
GET
/api/websites/{websiteId}/event-data-pivot
List event properties in table form
getEventDataPivot 34 params → 200400401
GET
/api/websites/{websiteId}/event-data-pivot/array-series
Get event array values over time
getEventDataArraySeries 32 params → 200400401
GET
/api/websites/{websiteId}/event-data-pivot/date-series
Get the distribution of event date values
getEventDataDateSeries 31 params → 200400401
GET
/api/websites/{websiteId}/event-data-pivot/numeric-series
Get numeric event properties over time
getEventDataNumericSeries 33 params → 200400401
GET
/api/websites/{websiteId}/event-data-pivot/numeric-stats
Get numeric event property statistics
getEventDataNumericStats 30 params → 200400401
GET
/api/websites/{websiteId}/event-data-pivot/property-series
Get event property values over time
getEventDataPropertySeries 32 params → 200400401
GET
/api/websites/{websiteId}/event-data/{eventId}
Get an event's custom properties
getEventDataById 2 params → 200401
GET
/api/websites/{websiteId}/event-data/events
Summarize properties by event
getEventDataEvents 28 params → 200400401
GET
/api/websites/{websiteId}/event-data/fields
List event property fields
getEventDataFields 29 params → 200400401
GET
/api/websites/{websiteId}/event-data/properties
List event property usage
getEventDataProperties 28 params → 200400401
GET
/api/websites/{websiteId}/event-data/stats
Get event property totals
getEventDataStats 28 params → 200400401
GET
/api/websites/{websiteId}/event-data/values
List event property values
getEventDataValues 31 params → 200400401
GET
/api/websites/{websiteId}/events
List tracked events
getWebsiteEvents 37 params → 200400401
GET
/api/websites/{websiteId}/events/series
Get custom event counts over time
getWebsiteEventSeries 31 params → 200400401
GET
/api/websites/{websiteId}/events/stats
Get website event statistics
getWebsiteEventStats 33 params → 200400401
GET
/api/websites/{websiteId}/export
Export website analytics
exportWebsite 11 params → 200400401function toString() { [native code] }
GET
/api/websites/{websiteId}/funnels
Get website funnels
getWebsiteFunnels 5 params → 200400401404
POST
/api/websites/{websiteId}/funnels
Create a website funnel
createWebsiteFunnel 1 param body → 200400401404
DELETE
/api/websites/{websiteId}/funnels/{funnelId}
Delete a website funnel
deleteWebsiteFunnel 2 params → 200400401404
GET
/api/websites/{websiteId}/funnels/{funnelId}
Get a website funnel
getWebsiteFunnel 2 params → 200400401404
POST
/api/websites/{websiteId}/funnels/{funnelId}
Update a website funnel
updateWebsiteFunnel 2 params body → 200400401404
GET
/api/websites/{websiteId}/funnels/{funnelId}/stats
Get website saved funnel stats
getWebsiteSavedFunnelStats 31 params → 200400401404
GET
/api/websites/{websiteId}/funnels/stats
Get website funnel stats
getWebsiteFunnelStats 32 params → 200400401404
GET
/api/websites/{websiteId}/goals
Get website goals
getWebsiteGoals 5 params → 200400401404
POST
/api/websites/{websiteId}/goals
Create a website goal
createWebsiteGoal 1 param body → 200400401404
DELETE
/api/websites/{websiteId}/goals/{goalId}
Delete a website goal
deleteWebsiteGoal 2 params → 200400401404
GET
/api/websites/{websiteId}/goals/{goalId}
Get a website goal
getWebsiteGoal 2 params → 200400401404
POST
/api/websites/{websiteId}/goals/{goalId}
Update a website goal
updateWebsiteGoal 2 params body → 200400401404
GET
/api/websites/{websiteId}/goals/{goalId}/stats
Get website saved goal stats
getWebsiteSavedGoalStats 31 params → 200400401404
GET
/api/websites/{websiteId}/goals/stats
Get website goal stats
getWebsiteGoalStats 32 params → 200400401404
GET
/api/websites/{websiteId}/heatmaps
Get website heatmaps
getWebsiteHeatmaps 32 params → 200400401404
GET
/api/websites/{websiteId}/journeys
Get website journeys
getWebsiteJourneys 33 params → 200400401404
GET
/api/websites/{websiteId}/metrics
Get ranked website metrics
getWebsiteMetrics 37 params → 200400401
GET
/api/websites/{websiteId}/metrics/expanded
Get detailed website metrics
getWebsiteExpandedMetrics 37 params → 200400401
GET
/api/websites/{websiteId}/pageviews
Get pageviews and sessions over time
getWebsitePageviews 33 params → 200400401
GET
/api/websites/{websiteId}/performance/chart
Get website performance chart
getWebsitePerformanceChart 31 params → 200400401404
GET
/api/websites/{websiteId}/performance/metrics
Get website performance metrics
getWebsitePerformanceMetrics 33 params → 200400401404
GET
/api/websites/{websiteId}/performance/stats
Get website performance stats
getWebsitePerformanceStats 30 params → 200400401404
GET
/api/websites/{websiteId}/recorder
Get website recording settings
getWebsiteRecorderConfig 1 param → 200
GET
/api/websites/{websiteId}/replays
List website session replays
getWebsiteReplays 38 params → 200400401
GET
/api/websites/{websiteId}/replays/{replayId}
Get a session replay recording
getWebsiteReplay 2 params → 200401
GET
/api/websites/{websiteId}/replays/saved
List saved session replays
getWebsiteSavedReplays 5 params → 200400401
GET
/api/websites/{websiteId}/replays/saved/{replayId}
Check whether a replay is saved
getWebsiteReplaySaved 2 params → 200401
POST
/api/websites/{websiteId}/replays/saved/{replayId}
Save or unsave a session replay
saveWebsiteReplay 2 params body → 200400401
POST
/api/websites/{websiteId}/reset
Reset website analytics
resetWebsite 1 param → 200401
GET
/api/websites/{websiteId}/retention
Get website retention
getWebsiteRetention 30 params → 200400401404
GET
/api/websites/{websiteId}/revenue/chart
Get website revenue over time
getWebsiteRevenueChart 34 params → 200400401
GET
/api/websites/{websiteId}/revenue/metrics
Get website revenue by dimension
getWebsiteRevenueMetrics 35 params → 200400401
GET
/api/websites/{websiteId}/revenue/sessions
List sessions with revenue
getWebsiteRevenueSessions 38 params → 200400401
GET
/api/websites/{websiteId}/revenue/stats
Get website revenue totals
getWebsiteRevenueStats 34 params → 200400401
GET
/api/websites/{websiteId}/segments
List website segments and cohorts
getWebsiteSegments 3 params → 200400401
POST
/api/websites/{websiteId}/segments
Create a website segment or cohort
createWebsiteSegment 1 param body → 200400401
DELETE
/api/websites/{websiteId}/segments/{segmentId}
Delete a website segment or cohort
deleteWebsiteSegment 2 params → 200401404
GET
/api/websites/{websiteId}/segments/{segmentId}
Get a website segment or cohort
getWebsiteSegment 2 params → 200401404
POST
/api/websites/{websiteId}/segments/{segmentId}
Update a website segment or cohort
updateWebsiteSegment 2 params body → 200400401404
GET
/api/websites/{websiteId}/session-data-pivot
List session properties in table form
getSessionDataPivot 34 params → 200400401
GET
/api/websites/{websiteId}/session-data/array-series
Get session array values over time
getSessionDataArraySeries 31 params → 200400401
GET
/api/websites/{websiteId}/session-data/date-series
Get the distribution of session date values
getSessionDataDateSeries 30 params → 200400401
GET
/api/websites/{websiteId}/session-data/numeric-series
Get numeric session properties over time
getSessionDataNumericSeries 32 params → 200400401
GET
/api/websites/{websiteId}/session-data/numeric-stats
Get numeric session property statistics
getSessionDataNumericStats 30 params → 200400401
GET
/api/websites/{websiteId}/session-data/properties
List session property usage
getSessionDataProperties 29 params → 200400401
GET
/api/websites/{websiteId}/session-data/property-series
Get session property values over time
getSessionDataPropertySeries 31 params → 200400401
GET
/api/websites/{websiteId}/session-data/stats
Get activity by session property
getSessionDataStats 31 params → 200400401
GET
/api/websites/{websiteId}/session-data/values
List session property values
getSessionDataValues 30 params → 200400401
GET
/api/websites/{websiteId}/sessions
List visitor sessions
getWebsiteSessions 37 params → 200400401
DELETE
/api/websites/{websiteId}/sessions/{sessionId}
Delete a visitor session
deleteWebsiteSession 2 params → 200400401404
GET
/api/websites/{websiteId}/sessions/{sessionId}
Get a visitor session
getWebsiteSession 2 params → 200401404
GET
/api/websites/{websiteId}/sessions/{sessionId}/activity
Get a visitor's session activity
getWebsiteSessionActivity 5 params → 200400401
GET
/api/websites/{websiteId}/sessions/{sessionId}/properties
Get a session's custom properties
getWebsiteSessionProperties 2 params → 200401
GET
/api/websites/{websiteId}/sessions/{sessionId}/replays
List a visitor's session replays
getWebsiteSessionReplays 13 params → 200400401
GET
/api/websites/{websiteId}/sessions/stats
Get visitor session statistics
getWebsiteSessionStats 28 params → 200400401
GET
/api/websites/{websiteId}/sessions/weekly
Get traffic by weekday and hour
getWebsiteSessionsWeekly 29 params → 200400401
GET
/api/websites/{websiteId}/shares
List shares for a website
getWebsiteShares 29 params → 200400401
POST
/api/websites/{websiteId}/shares
Create a share for a website
createWebsiteShare 1 param body → 200400401
GET
/api/websites/{websiteId}/stats
Get website summary statistics
getWebsiteStats 33 params → 200400401
POST
/api/websites/{websiteId}/transfer
Transfer website ownership
transferWebsite 1 param body → 200400401
GET
/api/websites/{websiteId}/utm/metrics
Get website UTM metrics
getWebsiteUtmMetrics 31 params → 200400401404
GET
/api/websites/{websiteId}/values
List website filter values
getWebsiteValues 10 params → 200400401
GET
/api/websites/charts
Get visitor charts for websites
getWebsitesCharts 4 params → 200400401

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are WebsiteSession (18 properties), Website (14 properties), WebsiteEvent (12 properties), ReplayConfigInput (7 properties). Each schema is shown below with its type and property counts.

WebsiteSession
object
18 properties 16 required
Ok
object
Successful operation response.
1 property 1 required
ApiError
object
Standard Umami API error response.
1 property 1 required
Website
object
14 properties 13 required
WebsitePage
object
6 properties 4 required
ActiveVisitors
object
1 property 1 required
UpdateWebsiteRequest
object
4 properties
WebsitePageviews
object
5 properties 2 required
WebsiteStats
object
6 properties 6 required
MetricRow
object
3 properties 2 required
WebsiteStatsValues
object
5 properties 5 required
MetricRows
array
CreateWebsiteRequest
object
5 properties 2 required
TimeSeriesPoint
object
2 properties 2 required
WebsiteSessionPage
object
5 properties 4 required
ReplayConfigInput
object
7 properties
WebsiteUser
object
2 properties 2 required
WebsiteEvent
object
12 properties 5 required
WebsiteEventPage
object
5 properties 4 required
ReplayConfig
object
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

umami-websites-api-openapi.yml Raw ↑

Other APIs Umami publishes across the network.

Umami MCP Server
Umami Authentication API
Umami Teams API
Umami Users API
Umami Account API
Umami Administration API
Umami Boards API
Umami Collection API
Umami Dashboard API
Umami Links API
Umami Pixels API
Umami Realtime API
Where this information came from

This is an independent, third-party profile of Umami Websites API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.