Skip to main content
GET
/
sites
/
{siteId}
/
consents
/
export
Stream site consents (CSV) or fall through to async queue
curl --request GET \
  --url https://www.consentfly.com.br/api/v1/sites/{siteId}/consents/export \
  --header 'Authorization: <api-key>'
"<string>"

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

Authorization
string
header
required

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

siteId
string
required

Site UUID

Query Parameters

format
enum<string>

Set to csv to use the streaming / async path. Other values return JSON.

Available options:
csv,
json
async
boolean

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.