Skip to main content

GetDirectoryContactResponse

result objectrequired

Information in the result.

contactIdContactId (string)

The contact ID.

Default value: CID_012345678901234
Example: CID_012345678901234
creationDateinteger<int64>nullable

Date and time this contact's record was created. Expressed in milliseconds since the Unix epoch, January 1, 1970 at 0:00 UTC.

lastModifiedinteger<int64>nullable

Date and time this record was last modified. Expressed in milliseconds since the Unix epoch, January 1, 1970 at 0:00 UTC.

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
emailDomainEmailDomain (string)nullable

The contact's email domain.

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 objectnullable

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.

property name*string
languageLanguage (string)nullable

The contact's preferred language code, if set.

Default value:
skippedSkipped (boolean)nullabledeprecated

This is a legacy field whose value will always be null

segmentMembership object

A map whose keys are segment IDs and whose values are objects detailing the contact's membership to the corresponding segment.

property name* Segment Membership Details
contactLookupIdContactLookupId (string)
ownerIdOwnerId (string)
unsubscribedUnsubscribed (boolean)
unsubscribedDatestring<date-time>nullable
nameName (string)
directoryUnsubscribedDirectoryUnsubscribed (boolean)

Indicates whether the user opted out of the directory.

directoryUnsubscribeDateinteger<int64>nullable

Date and time the user opted out of the directory. Expressed in milliseconds since the Unix epoch, January 1, 1970 at 0:00 UTC.

stats objectnullable

Statistics relevant to the request. All Month Stats are deprecated and no longer updated.

property name*stringnullable
mailingListMembership objectnullable

The DirectoryContactMailingLists object contains information about the mailing lists this contact belongs to. The object contains one object for each mailing list, with the mailing list ID as the object name.

property name* Mailing List Membership Details
contactLookupIdContactLookupId (string)

The contact's unique ID in the mailing list.

Example: CGC_012345678901234
nameName (string)

The name of the mailing list.

unsubscribedUnsubscribed (boolean)

Whether the contact unsubscribed from the mailing list.

unsubscribeDateinteger<int64>nullable

The date the contact opted out of this mailing list. Is set to null if the user has not opted out.

ownerIdOwnerId (string)

The ID of the user who owns the mailing list.

meta objectrequired
httpStatushttp status (string)required

HTTP status code.

requestIdAn identifier of the incoming request. (string)required

The unique identifier of the associated request.

noticeAn informational string about the request. (string)

An informational string about the request

GetDirectoryContactResponse
{
"result": {
"contactId": "CID_012345678901234",
"creationDate": 0,
"lastModified": 0,
"firstName": "Jane",
"lastName": "Doe",
"email": "JaneDoe@email.com",
"emailDomain": "string",
"phone": "111-111-1111",
"extRef": "my_Internal_ID_12345",
"embeddedData": {},
"language": "",
"segmentMembership": {},
"directoryUnsubscribed": true,
"directoryUnsubscribeDate": 0,
"stats": {},
"mailingListMembership": {}
},
"meta": {
"httpStatus": "string",
"requestId": "string",
"notice": "string"
}
}