Go Headless

Changelog

API Reference
Articles
Platform Overview
Authentication
Work with Wix APIs
SDK Setup and Usage
Wix MCP

App Management
OAuth 2
App Billing
App Instance
App Permissions
Embedded Scripts
BI Event
Editor Deep Link
Site Plugins

Business Solutions
eCommerce
Stores
Bookings
CMS
Events
Restaurants
Blog
Forum
Pricing Plans
Portfolio
Benefit Programs
Donations
Gift Cards
Coupons

Assets
Media
HTTP Functions
Rich Content
Pro Gallery

CRM
Members & Contacts
Forms
Community
Communication
Loyalty Program
CRM

Business Management
AI Site-Chat
Analytics
App Installation
Async Job
Automations
Branches
Calendar
Captcha
Categories
Cookie Consent Policy
Introduction
Cookie Banner Settings
Cmp Config
Consent Configs
Introduction
Sample Flows
Consent Config Object
P
Create Consent Config
G
Get Consent Config
D
Delete Consent Config
P
Update Consent Config
P
Query Consent Configs
P
List Apps And Storage
P
Bulk Create Consent Configs
P
Bulk Update Consent Configs
P
Bulk Delete Consent Configs
P
Bulk Update Consent Config Tags
P
Bulk Update Consent Config Tags By Filter
Consent Config Created
Consent Config Deleted
Consent Config Updated
Custom Embeds
Data Extension Schema
Dashboard
FAQ App
Functions
Get Paid
Headless
Locations
Marketing
Multilingual
Notifications
Payments
Site Search
Secrets
Site Properties
Site URLs
Tags

Account Level
About Account Level APIs
Sites
Resellers
Domains
B2B Site Management
User Management
Projects

Site
Viewer

Consent Config Object


A consent config defines user consent settings for an app's embeds on a site.

Properties
idstringRead-onlyformat GUID

Consent config ID.


revisionstringRead-onlyformat int64

Revision number, which increments by 1 each time the consent config is updated. To prevent conflicting changes, the current revision must be passed when updating the consent config.

Ignored when creating a consent config.


createdDatestringRead-onlyformat date-time

Date and time the consent config was created.


updatedDatestringRead-onlyformat date-time

Date and time the consent config was last updated.


configTypestring

Type of consent config. Currently only the TAG_OVERRIDE type is supported.


consentCategorystring

The consent config's categories for compliance with privacy regulations.


createdByCreatedBy

Consent config creator.


extendedFieldsExtendedFields

Custom field data for the consent config. Extended fields must be configured in the app dashboard before they can be accessed with API calls.


tagsTags

Consent config tags, meaning labels for administrative purposes.


One Of

tagDetailsTagDetails

Details about the app that owns the embed.


cookieDetailsCookieDetailsRead-only

Cookie details. Not supported yet.

Did this help?