Stream site consents (CSV) or fall through to async queue
With format=csv, streams the site’s consent rows directly to the response writer in stable created_at-desc order. Memory usage stays O(batch_size) regardless of total row count. Above ~100k rows (or when the caller passes ?async=true), the handler returns 202 Accepted with a queued export id instead of streaming inline — poll GET /exports/{id} to follow status. Counts as one export against the per-period rate cap (Starter 5 / Pro+ unlimited). The consent_export feature flag is enforced server-side.
Documentation Index
Fetch the complete documentation index at: https://docs.consentfly.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Autenticação por API Key no formato Authorization: Bearer sk-...
(sempre inclua o prefixo Bearer).
Gere sua chave em /dashboard/api-keys após criar a conta e
verificar o e-mail. A chave é exibida uma única vez no momento
da criação — armazene em variável de ambiente no seu backend.
Nunca exponha em código client-side.
Path Parameters
Site UUID
Query Parameters
Set to csv to use the streaming / async path. Other values return JSON.
csv, json Force the async queue even when the row count is below the threshold.
Response
CSV body (when below threshold and not explicitly async)
The response is of type file.
