---
schema_version: "1"
id: 0c9a7a54cbfa99b0ac9ebcf6ea6cb66b0c18d74a8e1335692baee30b1e411a66
title: Configure Consent Levels to Customize the Messaging Opt-In and Opt-Out Experience
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/messaging-byoc-ccaas/guides/configure-consent-levels.md
canonical_url: https://developer.salesforce.com/docs/service/messaging-byoc-ccaas/guide/configure-consent-levels.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 76d74bc1138d2d660912c4d4b2e93a719b4faa8fb05f547757e6d887fdc237ae
products:
  - Bring Your Own Channel for CCaaS
  - Service Cloud Developer Content
---
# Configure Consent Levels to Customize the Messaging Opt-In and Opt-Out Experience

Administrators can configure consent-level options to customize the opt-in and opt-out experience for Messaging channels. The ConversationChannelDefinition record includes fields that determine which consent-level options are exposed to the administrator.

To determine the consent levels you want to expose to the administrators, when you create the ConversationChannelDefinition record, set the `capabilitiesSupportsImplicitConsent` and `capabilitiesSupportsExplicitConsent` fields, and optionally set the `capabilitiesSupportsDoubleOptInConsent` field.

- `capabilitiesSupportsImplicitConsent`: Determines whether the Implicit Opt-In consent level is exposed to the administrator (`true`). This field is required and must be set to `true`. The default value is `false`.
- `capabilitiesSupportsExplicitConsent`: Determines whether the Explicit Opt-In consent level is exposed to the administrator (`true`). The default value is `false`. This field is optional.
- `capabilitiesSupportsDoubleOptInConsent`: Determines whether the Double Opt-In consent level is exposed to the administrator (`true`). The default value is `false`. This field is optional. If `capabilitiesSupportsDoubleOptInConsent` is set to `true`, then `capabilitiesSupportsExplicitConsent` must also be set to `true`.

**note:** If consent is managed by the partner (`ConversationChannelDefinition.consentOwner` is `Partner`), use the Interaction Service Consent API (`PATCH /api/v1/consent`) to set the consent level for the user. See [Configure Partner-Owned Routing and Consent](https://developer.salesforce.com/docs/service/messaging-byoc-ccaas/guide/configure-partner-routing-consent.md).

To learn more about consent levels, see [_Salesforce Help_: Customize the Messaging Opt-In and Opt-Out Experience](https://help.salesforce.com/s/articleView?id=service.messaging_consent_status.htm).

**See Also**

- [Configure Partner-Owned Routing and Consent](https://developer.salesforce.com/docs/service/messaging-byoc-ccaas/guide/configure-partner-routing-consent.md)
- [_Salesforce Help_: Customize the Messaging Opt-In and Opt-Out Experience](https://help.salesforce.com/s/articleView?id=service.messaging_consent_status.htm)
- [_Trailhead_: Use SOAP API](https://trailhead.salesforce.com/content/learn/modules/api_basics/api_basics_soap)
