Update contact with consent

Updates a contact by id with their consent information

🚧

We apply API rate limiting, so use bulk calls where possible!

If you're looking to import or update multiple contacts at once, then we highly recommend using Bulk import contacts instead.

It allows you to import a collection of contacts and has the benefit of being a single API call only, making it far less likely that your account will exceed its API calls per hour limit.

📘

Need to add contacts to an address book as well?

The following methods can create/update a contact whilst adding them to an address book therefore saving time and API calls.

Check out Bulk import contacts when working on multiple contacts and Add contact to address book when working with a single contact.

This operation creates or updates an existing contact a new contact within the account with their consent information, and adds it to the 'All contacts' address book.

Setting the OptInType to 'VerifiedDouble' will result in a double opt-in confirmation email being sent to the contact. The result will state that the contact's OptInType is 'Double' and Status is 'PendingOptIn'. These will only update to 'VerifiedDouble' and 'Subscribed' respectively once the contact has clicked the link in the confirmation email, at which point they will be added to the account.

Note that it is possible to update an existing contact using this operation. A duplicate contact will not be created. If the contact already exists, then any data provided in your request that is already held for the contact will be overwritten and updated in the system.

📘

Are you importing multiple contacts with consent?

If you're looking to import or update multiple contacts with consent information at once, then we highly recommend using Bulk import contacts instead.

It allows you to import a file and has the benefit of being a single API call only, making it far less likely that your account will exceed its API calls per hour limit.

However, when using the 'Bulk import contacts' call with consent information, you'll need to specify the following additional column headers in your file in order to successfully import consent:

  • CONSENTTEXT
  • CONSENTURL
  • CONSENTDATETIME
  • CONSENTIP
  • CONSENTUSERAGENT
Language
Authentication
Basic
base64
:
URL
Click Try It! to start a request and see the response here!