Doube opt-in, Email Confirmation Status and API
Jan 19, 2018 10:26 AM
Since I’m using HubSpot in Germany, activating the double opt-in feature is a must.
But we will collect and document the double opt-in outside of HubSpot most of the times. This means that after collecting a doube opt-in in an external system, the new contact should be synced over to HubSpot via the API. According to this article and this article the contact property “Email Confirmation Status” is set to “Customer marked confirmed” if a contact is imported (via CSV file) in case a valid doube opt-in was collected outside of HubSpot.
Now my question is: Can this also be achieved when creating a new contact via the API? Can I just set the contact property “Email Confirmation Status” to “Customer marked confirmed” as part of the API call which is used to create the new contact? Or is it not possible to directly set the “Email Confirmation Status” property? I couldn’t find anything about this in the developer docs.