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

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

Envie o header Authorization: Bearer <sua-chave>. A chave é criada no painel (API Keys) e só é mostrada uma vez.

Query Parameters

site_id
string

UUID do site

subject_id
string
accepted
boolean
from
string

Limite inferior ISO8601 (created_at)

to
string

Limite superior ISO8601 (created_at)

cursor
string

Cursor opaco da página anterior

limit
integer

Response

OK

data
object[]
next_cursor
string
limit
integer