SendTransactionalMessageToRecipient
Sends a message to a single recipient via a send definition.
MessageContents
Execute
Transactional message send:
EXECUTE SendTransactionalMessageToRecipient MessageKey='e1c35141-6e5c-4bc2-813b-60f969e52b0d', DefinitionKey='CanBeAGUIDorAny100UnicodeCharString', RecipientContactKey='d3c4a2d2-b620-4a39-88aa-b14868b766c6', RecipientTo='[email protected]', Attributes='UserAttr_1:UserAttrValue_1, UserAttr_2:UserAttrValue_2'
Input
Name | Type | Required | Description |
MessageKey | String | True | User-defined message identifier. |
DefinitionKey | String | True | Unique identifier of the definition. |
RecipientContactKey | String | True | Unique identifier for a subscriber in Marketing Cloud. Each request must include a contactKey. You can use an existing subscriber key or create one at send time by using the recipient’s email address. |
RecipientTo | String | False | Channel address of the recipient. For email, it’s the recipient's email address. |
Attributes | String | False | Information used to personalize the message for the recipient. Written as key pairs. The attributes match profile attributes, content attributes, or triggered send data extension attributes. |
Result Set Columns
Name | Type | Description |
RequestId | String | The unique identifier of this request. |