Get website
GET https://datafa.st/api/v1/admin/websites/{websiteId}Return full settings for one website — domain, timezone, currency, KPI, tracking exclusions, and feature flags.
The path
websiteId must match a website your token can access.Request
Path parameters
websiteIdstring
Response
Returns a JSON object with
status: "success" and endpoint-specific fields in data.Response fields
data[]._idstring
Website ObjectId.
data[].domainstring
Website domain.
data[].namestring|null
Human-readable name for the resource or event. The exact meaning depends on the endpoint.
data[].logostring|null
Website logo URL.
data[].trackingIdstring
Script tracking ID.
data[].timezonestring
Timezone used to interpret dates and group analytics buckets. Defaults to the website timezone.
data[].currencystring
Currency code for money values, such as
USD or EUR.data[].kpistring|null
Configured KPI goal or metric.
data[].kpiColorSchemestring|null
KPI color scheme.
data[].revenueMetricstring|null
Revenue metric preference.
data[].isCookielessboolean
Whether cookieless tracking is enabled.
data[].isAttackModeEnabledboolean
Whether attack-mode bot filtering is enabled.
data[].includeRenewalRevenueboolean
Whether renewal revenue is included in KPI calculations.
data[].allowedHostnamesstring[]
Allowed hostnames.
data[].isAllHostnamesAllowedboolean
Whether events from every hostname are accepted.
data[].excludedIpsstring[]
Excluded IPs.
data[].excludedPathsstring[]
Excluded paths.
data[].excludedCountriesstring[]
Excluded countries.
data[].excludedHostnamesstring[]
Excluded hostnames.
data[].createdAtstring
Website creation timestamp.
Authentication
Use a
dft_ account token with settings:read.A
df_ website API key for the same website can also call this route when the path websiteId matches the key's website. Write access with a df_ key is capped at member level — owner-only actions such as team management require a dft_ token and owner role.Errors
See API errors for the standard error envelope, auth failures, validation errors, permission errors, and rate limits.