Contacts
Add a new contact
Add a new contact to the mailing list, or update an existing one if updateIfExists
is set to true
.
POST
/
contacts
/
create
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The email of the contact.
The user id of the contact.
The avatar url of the contact.
The full name of the contact.
The language code of the contact.
If a contact with the provided email already exists, update the contact with the new data.
Whether to ignore subscribedToLists
field if the contact already exists and updateIfExists
is set to true
. Useful to avoid accidentally resubscribing a contact to lists they unsubscribed before. Default value is true
.
The array of mailing lists the contact is subscribed to.
The custom properties set for this contact.