Saltar al contenido principal

CookieConsentAction

CookieConsentAction

subject_state

Possible values: [CookieConsentActionAnonymous, CookieConsentActionAttributed]

idstringrequired
Example: cconsact_wAspvmEr4ACDZaPUtfwjsA
cookie_site_idstringrequired
Example: csite_wAspvmEr4ACDZaPUtfwjsA
cookie_banner_config_idstringrequired
Example: cbcfg_wAspvmEr4ACDZaPUtfwjsA
cookie_banner_config_versionintegerrequired

Possible values: >= 1

visitor_uuiduuidrequired
decisionstringrequired

Possible values: [accept_all, reject_all, custom]

accepted_categoriesCookieCategory[]required

Possible values: [essential, functional, analytics, marketing, personalize]

rejected_categoriesCookieCategory[]required

Possible values: [essential, functional, analytics, marketing, personalize]

originurirequired
page_urlurirequired
config_integrity_hashstringrequired
contextual_data object

Datos contextuales como IP, user agent, etc.

ipstring
Example: 192.168.1.1
user_agentstring
Example: Mozilla/5.0
urlstring
Example: https://example.com
phone_numberstring
Example: +56912345678
captured_atdate-timerequired
expires_atdate-timerequired
subject_statestringrequired

Possible values: [anonymous, attributed]

Constant value: anonymous
materialization_statusstringrequired

Possible values: [not_applicable, pending, completed, failed]

Constant value: not_applicable
proof objectrequired
action_idstringrequired
Example: cconsact_wAspvmEr4ACDZaPUtfwjsA
receipt_integrity_hashstringrequired

HMAC-SHA512 del recibo inmutable.

previous_action_idstring

Acción anterior del mismo navegador y sitio, cuando existe.

previous_receipt_hashstring

Hash del recibo anterior para verificar la cadena.

captured_atdate-timerequired
expires_atdate-timerequired
configuration_snapshot objectrequired
cookie_site_idstringrequired
Example: csite_wAspvmEr4ACDZaPUtfwjsA
cookie_banner_config_idstringrequired
Example: cbcfg_wAspvmEr4ACDZaPUtfwjsA
cookie_banner_config_versionintegerrequired

Possible values: >= 1

config_integrity_hashstringrequired
created_atdate-timerequired
updated_atdate-timerequired
CookieConsentAction
{
"id": "cconsact_wAspvmEr4ACDZaPUtfwjsA",
"cookie_site_id": "csite_wAspvmEr4ACDZaPUtfwjsA",
"cookie_banner_config_id": "cbcfg_wAspvmEr4ACDZaPUtfwjsA",
"cookie_banner_config_version": 0,
"visitor_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"decision": "accept_all",
"accepted_categories": [
"essential"
],
"rejected_categories": [
"essential"
],
"origin": "string",
"page_url": "string",
"config_integrity_hash": "string",
"contextual_data": {
"ip": "192.168.1.1",
"user_agent": "Mozilla/5.0",
"url": "https://example.com",
"phone_number": "+56912345678"
},
"captured_at": "2024-07-29T15:51:28.071Z",
"expires_at": "2024-07-29T15:51:28.071Z",
"subject_state": "anonymous",
"materialization_status": "not_applicable",
"proof": {
"action_id": "cconsact_wAspvmEr4ACDZaPUtfwjsA",
"receipt_integrity_hash": "string",
"previous_action_id": "string",
"previous_receipt_hash": "string",
"captured_at": "2024-07-29T15:51:28.071Z",
"expires_at": "2024-07-29T15:51:28.071Z"
},
"configuration_snapshot": {
"cookie_site_id": "csite_wAspvmEr4ACDZaPUtfwjsA",
"cookie_banner_config_id": "cbcfg_wAspvmEr4ACDZaPUtfwjsA",
"cookie_banner_config_version": 0,
"config_integrity_hash": "string"
},
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z"
}