# adding a second email through API

**URL:** <https://community.hubspot.com/t/adding-a-second-email-through-api/44911>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [October 6, 2021, 5:50am UTC](https://community.hubspot.com/t/adding-a-second-email-through-api/44911 "2021-10-06T05:50:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![EShumely](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/eshumely/32/78108_2.png) [@EShumely](https://community.hubspot.com/u/EShumely)\
**Post date:** [October 6, 2021, 5:50am UTC](https://community.hubspot.com/t/adding-a-second-email-through-api/44911/1 "2021-10-06T05:50:09Z")

</div>

1. Can I add a second email through API and making it a primary email?

I don’t want to delete the first one.

2. Can I update a contact using his secondary email in my call?

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [October 6, 2021, 1:29pm UTC](https://community.hubspot.com/t/adding-a-second-email-through-api/44911/2 "2021-10-06T13:29:23Z")

</div>

Hi @EShumely ,  
You can use this api for secondary emails.

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Flegacy%2Fcrm-contacts-v1%2Fget-contacts-v1-lists-all-contacts-all)**

Screen shot : [Screenshot by Lightshot](https://prnt.sc/1uzvgjz)

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.  
Thanks and Regards.

---

<div class="post-metadata">

**Author:** ![EShumely](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/eshumely/32/78108_2.png) [@EShumely](https://community.hubspot.com/u/EShumely)\
**Post date:** [October 6, 2021, 1:53pm UTC](https://community.hubspot.com/t/adding-a-second-email-through-api/44911/3 "2021-10-06T13:53:30Z")

</div>

[@webdew](https://community.hubspot.com/t5/user/viewprofilepage/user-id/131510) Thank you 🙂

---

<div class="post-metadata">

**Author:** ![EShumely](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/eshumely/32/78108_2.png) [@EShumely](https://community.hubspot.com/u/EShumely)\
**Post date:** [October 6, 2021, 2:03pm UTC](https://community.hubspot.com/t/adding-a-second-email-through-api/44911/4 "2021-10-06T14:03:33Z")

</div>

[@webdew](https://community.hubspot.com/t5/user/viewprofilepage/user-id/131510) is there a way to pass it as primary?

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [October 7, 2021, 1:40pm UTC](https://community.hubspot.com/t/adding-a-second-email-through-api/44911/5 "2021-10-07T13:40:35Z")

</div>

You can update the contact with new email but only one email, you have to set as primary.

@EShumely

---

<div class="post-metadata">

**Author:** ![EShumely](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/eshumely/32/78108_2.png) [@EShumely](https://community.hubspot.com/u/EShumely)\
**Post date:** [October 7, 2021, 8:36am UTC](https://community.hubspot.com/t/adding-a-second-email-through-api/44911/6 "2021-10-07T08:36:38Z")

</div>

Just realize I have to update the secondary email by HubSpot user ID. is there a way to update a secondary email by email?
