---
schema_version: "1"
id: c16daa158a42896de7eaebea147d83013bc161794114688ab235f1a5415a9979
title: PartyConsent
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_partyconsent.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_partyconsent.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3d5253c600020cc21bbf04770342d379c013c657ef49bdbcc91873c7beb59660
description: Represents consent preferences for an individual. This object is available in API version 48.0 and later.
---
# PartyConsent

Represents consent preferences for an individual. This object is available in API version 48.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

| Field | Details |
| --- | --- |
| Action | 
Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

Description

The action that the Individual is consenting to.

Possible values are:

- CrossDevice
- DataCollection
- Reidentification
- Segment
- ShareData
- Target





 |
| CaptureContactPointType | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

Required. Indicates how you captured consent.

Possible values are:

- Email
- MailingAddress
- Phone
- Social
- Web





 |
| CaptureDate | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort, Update

Description

Required. Date when consent was captured.



 |
| CaptureSource | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Required. Indicates how you captured consent. For example, a website or online form.



 |
| DoubleConsentCaptureDate | 

Type

dateTime

Properties

Filter, Group, Nillable, Sort

Description

The specific date and time the consent was confirmed for the data subject via a secondary verification method (for example, clicking a link in a confirmation email). Essential for high-standard Double Opt-In audit trails.



 |
| EffectiveFrom | 

Type

date

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The date the data subject's consent becomes valid. Use this field to track the beginning of the legal period for which the party has agreed to data processing or communication.



 |
| EffectiveTo | 

Type

date

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The date the data subject's consent expires or is scheduled to end. This field helps automate compliance by identifying when consent should no longer be honored.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp for when the current user last viewed a record related to this record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

Name of the party consent record.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

The ID of the account owner associated with this customer.

This is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |
| PartyId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

Required. Represents the record based on the Individual object you want to associate consent with.

This is a relationship field.

Relationship Name

Party

Relationship Type

Lookup

Refers To

Individual



 |
| PrivacyConsentStatus | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

Description

Required. Identifies whether the individual associated with this record agrees to this form of contact.

Possible values are:

- NotSeen
- OptIn
- OptInPending—Available in API version 58.0 and later.
- OptOut
- OptOutPending—Available in API version 58.0 and later.
- Seen





 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[PartyConsentChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")

Change events are available for the object.

[PartyConsentFeed](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[PartyConsentHistory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.

[PartyConsentOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")

Sharing rules are available for the object.

[PartyConsentShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.