# Does API Trigger Subscription Confirmation Email when Double Opt-In is Enabled

**URL:** <https://community.hubspot.com/t/does-api-trigger-subscription-confirmation-email-when-double-opt-in-is-enabled/24786>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [August 31, 2020, 4:54am UTC](https://community.hubspot.com/t/does-api-trigger-subscription-confirmation-email-when-double-opt-in-is-enabled/24786 "2020-08-31T04:54:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![harmonyrjones](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/harmonyrjones/32/37375_2.png) [@harmonyrjones](https://community.hubspot.com/u/harmonyrjones)\
**Post date:** [August 31, 2020, 4:54am UTC](https://community.hubspot.com/t/does-api-trigger-subscription-confirmation-email-when-double-opt-in-is-enabled/24786/1 "2020-08-31T04:54:48Z")

</div>

Will a contact that is synced through an API automatically receive the Opt-In Request email when the double opt-in setting is turned on? is it different for the Contact API vs the Forms API?

I can only find information from 2017 and it is not super clear on the [Double Opt-In setup page](https://knowledge.hubspot.com/email/set-up-double-opt-in-for-emails)

Right now I have Double Opt-In turned on with the “disable for some pages only” but also want to know if it is different for the other options “All pages” and “Enable for some pages only”

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [September 2, 2020, 5:03am UTC](https://community.hubspot.com/t/does-api-trigger-subscription-confirmation-email-when-double-opt-in-is-enabled/24786/2 "2020-09-02T05:03:23Z")

</div>

Hey @harmonyrjones,

My colleague Isaac answered a similar query on [this forum thread](https://community.hubspot.com/t5/APIs-Integrations/How-to-send-double-opt-in-email-using-REST-APIs/m-p/224438).

Do give it a read and I hope it answers your question 🙂

---

<div class="post-metadata">

**Author:** ![harmonyrjones](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/harmonyrjones/32/37375_2.png) [@harmonyrjones](https://community.hubspot.com/u/harmonyrjones)\
**Post date:** [September 2, 2020, 5:35am UTC](https://community.hubspot.com/t/does-api-trigger-subscription-confirmation-email-when-double-opt-in-is-enabled/24786/3 "2020-09-02T05:35:53Z")

</div>

Yes, I saw that, I was wondering if this was still the case since the knowledge article says “New contacts created through an import or API will need to have their subscription types confirmed too.”

But now that I look at the article again - it says it like right at the top.

> **[Set up double opt-in for emails](https://knowledge.hubspot.com/marketing-email/set-up-double-opt-in-for-emails)**
>
> Learn how to set up double opt-in for emails, which adds an extra confirmation step for contacts to verify that they want to receive email from you.

Thanks!

-Harmony
