Skip to navigation

Get a contact record

Retrieve a specific omni-channel contact in an audience.

Authentication

AuthorizationBearer

Authorization using a Mailchimp API key (a.k.a. Bearer token)

OR
AuthorizationBearer
Authorization using OAuth

Path parameters

audience_idstringRequired
The unique ID for the audience.
contact_idstringRequired

A unique identifier for the contact, which can be a Mailchimp contact ID or a channel hash. A channel hash must follow the format email:[md5_hash] (where the hash is the MD5 of the lowercased email address) or sms:[sha256_hash] (where the hash is the SHA256 of the E.164-formatted phone number).

Query parameters

fieldslist of stringsOptional

A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.

exclude_fieldslist of stringsOptional

A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.

Response

This endpoint returns an object.
audience_idstringOptionalRead-only
The unique ID for the audience.
created_atdatetimeOptionalRead-only
The date that the contact was created.
email_channelobjectOptional
idstringOptionalRead-only
The unique ID for the contact.
languageenumOptional
The contact's detected language. Empty string when no language has been detected or set.
last_updated_atdatetimeOptionalRead-only
The date that the contact was last updated.
merge_fieldsmap from strings to objects or strings or doubles or nullOptional

A dictionary of merge fields where the keys are the merge tags. See the Merge Fields documentation for more about the structure.

sms_channelobjectOptional
sourceobjectOptional
The source from which the parent's entity was created.
statusenumOptionalRead-only
The status of a contact.
Allowed values:
tagslist of stringsOptional
The tags assigned to this contact.