Skip to main content

CreateDirectoryContactRequest

firstNameFirstName (string)nullable

The contact's first name or given name.

Default value: Jane
lastNameLastName (string)nullable

The contact's last name or surname.

Default value: Doe
emailEmail (string)nullable

The contact's email address.

Default value: JaneDoe@email.com
phonePhone (string)nullable

The contact's phone number.

Default value: 111-111-1111
extRefExtRef (string)nullable

The External reference for the contact. You can place any string data here you need to identify the contact.

Default value: my_Internal_ID_12345
embeddedData object

The embedded data object contains extra metadata that you want to associate with contacts. This user-defined data could include such data as birthplace, gender, employment status, etc. The values for embedded data can be provided to thisAPI as strings, booleans and numbers but not objects. However, the data will always be stored in the system as strings.

property name*any

The embedded data object contains extra metadata that you want to associate with contacts. This user-defined data could include such data as birthplace, gender, employment status, etc. The values for embedded data can be provided to thisAPI as strings, booleans and numbers but not objects. However, the data will always be stored in the system as strings.

languageLanguage (string)nullable

The contact's preferred language code, if set.

Default value:
unsubscribedUnsubscribed (boolean)

Whether the contact unsubscribed from the mailing list.

CreateDirectoryContactRequest
{
"firstName": "Jane",
"lastName": "Doe",
"email": "JaneDoe@email.com",
"phone": "111-111-1111",
"extRef": "my_Internal_ID_12345",
"embeddedData": {},
"language": "",
"unsubscribed": true
}