List site keys
The website’s active API keys, masked (dt_site_7f3k…a91c). Secrets are never returned after creation. Needs the admin role.
Related: Create a site key and Roll a site key in Site keys.
Request
Path parameters
websitestringrequiredWebsite id or domain, e.g. example.com
1–253 characters
Headers
AuthorizationstringrequiredBearer followed by an account token or an OAuth access token with the api_keys:read scope.
Response
Keys.
{
"status": "string",
"data": [
{
"id": "string",
"siteId": "string",
"name": "string",
"maskedKey": "string",
"createdBy": "string",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastUsedAt": "2026-01-01T00:00:00.000Z",
"rolledAt": "2026-01-01T00:00:00.000Z"
}
]
}Response fields
| Field | Type | Description |
|---|---|---|
| status | "ok" | |
| data | object[] | |
| data[].id | string | |
| data[].siteId | string | |
| data[].name | string | |
| data[].maskedKey | string | |
| data[].createdBy | string | |
| data[].createdAt | string (date-time) | |
| data[].lastUsedAt | string (date-time) | null | null | |
| data[].rolledAt | string (date-time) | null | null |