Skip to content

API playground

Send real requests from your browser and see the response right away. Two kinds of credentials work here: a site key such as dt_site_… reads and writes data for one website, and an account token such as dt_pat_… works across your websites with the scopes you chose. Create a site key in a website’s Settings → Developer, or an account token in your account.

API playground

PATCH

Update a website · Jump to docs →

Accepts an account token or an OAuth access token with the settings:write scope. Your key stays in this tab and is only sent with your request. Auth and scopes

Parameters
Website id or domain, e.g. example.com

Fields: name, timezone, currency, colour, cookieless, additionalDomains, exclusions, exclusions.ips, exclusions.paths, exclusions.countries, exclusions.hostnames, exclusions.referrerSpam, publicDashboard, publicDashboard.enabled, publicDashboard.expiry, publicDashboard.showRevenue, publicDashboard.showGoals, publicDashboard.showLocation, publicDashboard.showPaths, publicDashboard.showBuyers, publicDashboard.showAiTraffic, publicDashboard.regenerateShareId, botSettings, botSettings.showCard, botSettings.blockedCompanies, botSettings.filterDatacenters, attackMode, attackMode.enabled, attackMode.auto, attackMode.level, viewerRevenue.

Response

Send a request to see the response here.