Create a Contact
Creates a new contact in your audience.
POST
Requires the
people:write scope.
Contacts are keyed by email. If a contact with the given email already exists, this endpoint merges the supplied data into that contact and returns
200 instead of creating a duplicate. New contacts return 201.Body
The contact’s email address.
A list of tag names to apply to the contact. Tags that don’t exist yet are created. On a merge, these are added to the contact’s existing tags. Example:
["vip", "newsletter"]Notes associated with this contact. HTML string or plain string.
Custom field values, keyed by each field’s
data_name. Custom fields may also be sent as top-level keys (see below).Double opt-in status. Sends a confirmation email if set to
required.Enroll the contact in any matching automations when they’re added.
Custom field values may also be sent as top-level keys named by the field’s
data_name, instead of nesting them under extra_data.Response
Returns201 Created with the new contact, or 200 OK with the merged contact if one with that email already existed.
The contact's opaque, unique identifier. Use this value to address the contact in the URL of the retrieve, update, and delete endpoints. The sequential integer primary key is never exposed.
The contact's email address.
The names of the tags applied to this contact — a flat list of strings.
Notes associated with this contact. HTML string or plain string.
All custom field values for the contact, keyed by each field's
data_name (never the internal field id).The datetime (UTC) at which the contact was created.
The datetime (UTC) at which the contact was last updated.
The datetime (UTC) of this contact's last activity. Example activities that update this field are: creation, opening an email, clicking an email, and unsubscribing.
The contact's two-letter country code, if known.
The single subscription/deliverability indicator for the contact.
How the contact entered your audience (e.g.
api, import, form).The contact's historical email open rate, from
0 to 1.The contact's historical email click rate, from
0 to 1.
