---
schema_version: "1"
id: 45a3284663f74bd7dc202ee8f0fbecfb11cba528be8f519c141fb1e06a3ebd25
title: ContactEvent
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/contactevent.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/contactevent.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8c40874d5443bd0c05fc5b583d58a108f4b7aa2fa05fdf410db91edc190907cd
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# ContactEvent

An object that associates information from an event with a contact.

## Properties

| Name                 | Data Type                                      | Description                                                                                                                                                                                                                 |
| -------------------- | ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Client`             | [ClientID](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/clientid.md) object                 | Defines which account owns the object.                                                                                                                                                                                      |
| `ContactID`          | Long                                           | Unique ID for the contact. You must provide a value for contactKey or contactID if the event links directly to the contact.                                                                                                 |
| `ContactKey`         | String                                         | Primary address for the contact. You must provide a value for contactKey or contactID if the event links directly to the contact.                                                                                           |
| `CorrelationID`      | String                                         | Identifies calls involved in a specific asynchronous process.                                                                                                                                                               |
| `CreatedDate`        | DateTime                                       | The date and time when the object was created.                                                                                                                                                                              |
| `CustomerKey`        | String                                         | User-supplied unique identifier for an object within an object type.                                                                                                                                                        |
| `Data`               | Array of AttributeSet objects                  | Any related data associated with the event, passed in as an AttributeSet. To batch multiple items in a single request, include multiple objects that each contain data. Don't include multiple AttributeSets in one object. |
| `EventDefinitionKey` | String                                         | Value identifying the event that is used to map event data to the data extension.                                                                                                                                           |
| `ID`                 | Int                                            | Read-only legacy identifier for an object. Not supported on all objects.                                                                                                                                                    |
| `ModifiedDate`       | DateTime                                       | The date and time when the object was last modified.                                                                                                                                                                        |
| `ObjectID`           | String                                         | System-controlled, read-only text string identifier for object.                                                                                                                                                             |
| `ObjectState`        | String                                         | Reserved for future use.                                                                                                                                                                                                    |
| `Owner`              | [Owner](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/owner.md) object                       | Describes account ownership of subscriber in an on-your-behalf account.                                                                                                                                                     |
| `PartnerKey`         | String                                         | Unique identifier provided by partner for an object. This property is accessible only via API.                                                                                                                              |
| `PartnerProperties`  | Array of [APIProperty](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/apiproperty.md) objects | A collection of metadata supplied by client and stored by system. This property is accessible only via API.                                                                                                                 |

## Related Items

- [Supported Operations for Objects and Methods](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/supported_operations_for_objects_and_methods.md)
- [Associate Event Data with a Contact](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/associate_event_data_with_a_contact.md)
