Create a contact

Creates a contact if the identifiers passed are unique in the account then a new contact will be created, otherwise it will fail the call with a 409.

Body Params

Contact data

identifiers
object
required

Identifiers this contact can be referenced by

dataFields
object

Addtional data fields for the contact

channelProperties
object

Properties associated with each channel for a contact. For example, message format or subscription status

lists
array of int32s
length between 1 and 100

List IDs for the lists the contact should be added to

lists
preferences
array of objects
length ≥ 1

Preferences you want to opt the contact into. Note: Only required for preferences and not preference categories

preferences
int32
required

ID of the preference

boolean
required

Specify whether the contact is opted into this preference

consentRecords
array of objects
length between 1 and 5

The marketing consent records to be associated with the contact

consentRecords
string
required
length ≥ 1

Consent text displayed to the contact

date-time
required

ISO 8601 UTC timestamp for when the consent was obtained

uri
required

URL the consent was obtained with

required
string
required
length ≥ 1

User agent header of the browser used by the contact the consent was obtained for

Headers
string

If you are a partner of Dotdigital and have a verified integration then include your integration tracking token here.

Responses

401

Unauthorized

Language
Credentials
Basic
base64
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json