Properties

NameTypeDescriptionNotes
FirstNameString[optional]
LastNameString[optional]
CompanyString[optional]
EmailAddressesString[]Set of email addresses belonging to the contact[optional]
TagsString[]Tags that can be used to search and group contacts[optional]
MetaDataSystemCollectionsHashtable[optional]
OptOutBooleanHas the user explicitly or implicitly opted out of being contacted? If so MailSlurp will ignore them in all actions.[optional]
GroupIdStringGroup IDs that contact belongs to[optional]

Examples

  • Prepare the resource
$CreateContactOptions = Initialize-maislurp-client-powershellCreateContactOptions  -FirstName null `
 -LastName null `
 -Company null `
 -EmailAddresses null `
 -Tags null `
 -MetaData null `
 -OptOut null `
 -GroupId null
  • Convert the resource to JSON
$CreateContactOptions | ConvertTo-JSON

[Back to Model list] [Back to API list] [Back to ]