footprint

POST /v1/footprint/runs

Check now — start an on-demand footprint check.

All footprint endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The endpoint checks sites.create; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X POST https://api.zinndigital.com/v1/footprint/runs \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

Starts a check of every site (scope: account, the default), of one site group's hosted sites (scope: group), of one site on its own (scope: site) or of a chosen set of the organisation's sites compared with each other (scope: custom). A site named in domains that the organisation neither hosts with us nor has added is refused with 422 and named. It counts against the month's on-demand checks; a check that could read none of its sites is not counted. If a check is already running for the organisation it is returned instead (already_running: true) and nothing is counted. The check runs in the background: poll GET /v1/footprint/runs/{run_id} until its state is done.

Request body

NameTypeRequiredWhat it is
scopestring<account, group, site, custom>No—
group_idstringNoRequired when scope is group.
domainsstring[]NoThe organisation's own sites to check — hosted with us or added as hosted elsewhere. Exactly one for scope: site; two or more for scope: custom, which compares the chosen…

Response

NameTypeRequiredWhat it is
runFootprintRunSummaryYes—
already_runningbooleanYes—

Errors this endpoint can return

400 · 401 · 403 · 404 · 422 · 503