Skip to main content
GET
/
consents
List consents
curl --request GET \
  --url https://www.consentfly.com.br/api/v1/consents \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "accepted": true,
      "consent_id": "<string>",
      "country": "<string>",
      "created_at": "<string>",
      "deleted_at": "<string>",
      "id": "<string>",
      "policy_version": 123,
      "preferences": {},
      "region": "<string>",
      "site_id": "<string>",
      "subject_id": "<string>",
      "updated_at": "<string>",
      "user_agent": "<string>"
    }
  ],
  "limit": 123,
  "next_cursor": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.haldenhub.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Format: Bearer sk-... (include the Bearer prefix).

Query Parameters

site_id
string

Filter by site UUID

Filter by client consent id

subject_id
string

Filter by subject id

accepted
boolean

Filter by accepted flag

from
string

ISO8601 lower bound (created_at)

to
string

ISO8601 upper bound (created_at)

cursor
string

Opaque pagination cursor

limit
integer

Page size (default from service, max 100)

Response

OK

data
object[]
limit
integer
next_cursor
string