> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Resource: Marketing Consent # Type: Marketing Consent Object # Link: https://dev.wix.com/docs/api-reference/business-management/marketing/marketing-consent/marketing-consent-object.md ## Schema: ```json Type: Marketing Consent Object | type: MarketingConsent - name: id | type: string | description: Marketing consent ID. - name: value | type: string | description: - name: revision | type: string | description: Revision number. - name: value | type: string | description: - name: details | type: MarketingConsentDetails | description: Marketing consent communication details. - name: type | type: string | description: The communication channel of the marketing consent. enum: UNKNOWN_TYPE, EMAIL, PHONE - name: state | type: string | description: Marketing consent state. Default: `UNKNOWN_STATE`. enum: UNKNOWN_STATE, NEVER_CONFIRMED, REVOKED, PENDING, CONFIRMED - name: createdDate | type: string | description: Date and time the marketing consent was created. - name: seconds | type: string | description: - name: nanos | type: number | description: - name: updatedDate | type: string | description: Date and time the marketing consent was updated. - name: lastConfirmationActivity | type: LastConfirmationActivity | description: Last confirmation activity of the marketing consent. - name: source | type: string | description: Source of the given consent (how the site visitor signed up). enum: IN_PERSON, FORM, LINK_CONFIRMATION, EMAIL_SERVICE, WIX_USERS, OTHER - name: description | type: string | description: Consent description. - name: updatedDate | type: string | description: Date and time the consent was updated. - name: optInLevel | type: string | description: Consent opt in level, either single or double confirmation. enum: UNKNOWN_OPT_IN_LEVEL, SINGLE_CONFIRMATION, DOUBLE_CONFIRMATION - name: lastRevokeActivity | type: LastRevokeActivity | description: Last revoke activity of the marketing consent. - name: source | type: string | description: Source of the given revoke (how the visitor signed up). enum: IN_PERSON, FORM, REVOKE_LINK, WIX_USERS, OTHER - name: description | type: string | description: Details about the revoke, if relevant. - name: updatedDate | type: string | description: Date and time the consent was updated. - name: extendedFields | type: ExtendedFields | description: Additional fields. - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured. You can only access fields for which you have the appropriate permissions. Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md). ```