Create Contact
sesv2_create_contact | R Documentation |
Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list¶
Description¶
Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list.
Usage¶
sesv2_create_contact(ContactListName, EmailAddress, TopicPreferences,
UnsubscribeAll, AttributesData)
Arguments¶
ContactListName |
[required] The name of the contact list to which the contact should be added. |
EmailAddress |
[required] The contact's email address. |
TopicPreferences |
The contact's preferences for being opted-in to or opted-out of topics. |
UnsubscribeAll |
A boolean value status noting if the contact is unsubscribed from all contact list topics. |
AttributesData |
The attribute data attached to a contact. |
Value¶
An empty list.
Request syntax¶
svc$create_contact(
ContactListName = "string",
EmailAddress = "string",
TopicPreferences = list(
list(
TopicName = "string",
SubscriptionStatus = "OPT_IN"|"OPT_OUT"
)
),
UnsubscribeAll = TRUE|FALSE,
AttributesData = "string"
)