---
schema_version: "1"
id: 828edf8cc9648176ebe776e5c9d08d4557a8d8e652e8bdcbbb5b6b1fa2c844fb
title: SnippetAssignment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_snippetassignment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_snippetassignment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0992beefba6e76cf9644c71de4bf283aef04d4b3c7a132f603a897c42e5f2da6
description: Represents a relationship between a snippet and a campaign. Assignments are required to use snippet content in Account Engagement emails and email templates. A snippet can be assigned to more than one campaign. This object is available in API version 47.0 and later.
---
# SnippetAssignment

Represents a relationship between a snippet and a campaign. Assignments are required to use snippet content in Account Engagement emails and email templates. A snippet can be assigned to more than one campaign. This object is available in API version 47.0 and later.

## Supported Calls

create( ), delete( ), describeLayout( ), describeSObjects( ), getDeleted( ), getUpdated( ), query( ), retrieve( )

## Special Access Rules

Snippets are available in Account Engagement business units with the Sales, CRM, or Service permission set license.

## Fields

| Field | Details |
| --- | --- |
| ParentId | 
Type

reference

Properties

Create, Filter, Group, Sort

Description

ID of the parent object



 |
| SnippetId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

ID of the related snippet record



 |