---
schema_version: "1"
id: ff233e0b9bbc6a3e390555797f0ee48ada640683eb978b4e48e4949542086c5e
title: SurveyEngagementContext
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_surveyengagementcontext.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_surveyengagementcontext.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 609538d5c847fb3d7f2df2caa931cbbdc0c89537fbcaffd1a5a448d7338dba8e
description: Represents the context based on which a survey invitation was sent or a survey response was received. This object is available in API version 49.0 and later.
---
# SurveyEngagementContext

Represents the context based on which a survey invitation was sent or a survey response was received. This object is available in API version 49.0 and later.

## Supported Calls

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

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

You can’t define custom fields for the SurveyEngagementContext object using the Object Manager.

## Fields

| Field | Details |
| --- | --- |
| ContextType | 
Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Context type based on which the survey invitation was sent or the response was received.



 |
| ContextValue | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Context based on which the survey invitation was sent or the response was received.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

Name of the record.



 |
| OwnerId | 

Type

reference

Properties

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

Description

ID of the record's owner.



 |
| SurveyInvitationId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort

Description

ID of the survey invitation.



 |
| SurveyResponseId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort

Description

ID of the survey response.



 |

## Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

[SurveyEngagementContextShare](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.