Create contact data field

Creates a contact data field within the account

Use this operation to create a contact data field within your account.

You can't create a contact data field that already exists. If you are unsure which data fields currently exist, call Get Contact Data Fields.

The amount of contact data fields you can create is limited by your account type.

Body Params
string
required
length ≤ 20
[a-zA-Z0-9_-]{1,20}

The name of the contact data field being created. It can be a maximum of 20 characters in length and must contain alphanumeric characters only, with hyphens and underscores if required.

string
enum
required

The data type of the contact data field you''re creating.

Allowed:
string
enum
Defaults to Private

Choose for your data field to be either private or public

Allowed:
string

The default value of your data field. It can be any data type.

Headers
string
/^(?:\{{0,1}(?:[0-9a-fA-F]){8}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){12}\}{0,1})$/

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

Response

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