# Every record as CSV, oldest first: what a regulator is handed > tidekeeper's API reference: https://tidekeeper.eu/docs/api/get-sites-site-consent-export `GET /api/v1/sites/{site}/consent/export` Every record as CSV, oldest first: what a regulator is handed. ## Parameters - `site` (in path, needed): A site's id or name ## The answer 200, a file ## Asking ```sh curl https://tidekeeper.eu/api/v1/sites/example.org/consent/export \ -H "Authorization: Bearer $TIDEKEEPER_TOKEN" ```