# Delete secondary/additional emails via API

**URL:** <https://community.hubspot.com/t/delete-secondary-additional-emails-via-api/127752>\
**Category:** APIs & Integrations\
**Tags:** python, professional, contacts\
**Created:** [March 11, 2025, 6:33pm UTC](https://community.hubspot.com/t/delete-secondary-additional-emails-via-api/127752 "2025-03-11T18:33:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LCollom](https://avatars.discourse-cdn.com/v4/letter/l/b5a626/32.png) [@LCollom](https://community.hubspot.com/u/LCollom)\
**Post date:** [March 11, 2025, 6:33pm UTC](https://community.hubspot.com/t/delete-secondary-additional-emails-via-api/127752/1 "2025-03-11T18:33:22Z")

</div>

Long story short, a sales agent merged multiple(more than is realistic to delete manually) contacts with other contacts. This set all those merged contacts as secondard emails on the surviving object.

I can find these emails via

`/crm/v3/objects/contacts/search`

`payload = { "limit": limit, "properties": ["email", "hs_additional_emails"]}`

However the issue is, that I cannot Patch the hs\_additional\_emails field, as its “calculated” and “read-only”. Chat support dont acknowledge the secondary property as a property.  
Anyone been able to remove the secondary emails from a contact via API? or know of a mechanism to bulk remove them?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 11, 2025, 7:48pm UTC](https://community.hubspot.com/t/delete-secondary-additional-emails-via-api/127752/2 "2025-03-11T19:48:35Z")

</div>

Hey @LCollom 👋 The endpoints for interacting with Secondary Email addresses live [**here**](https://developers.hubspot.com/docs/reference/api/crm/objects/contacts/v1), on the v1 page:

- [**Add**](https://developers.hubspot.com/docs/reference/api/crm/objects/contacts/v1#add-a-secondary-email-address)
- [**Update**](https://developers.hubspot.com/docs/reference/api/crm/objects/contacts/v1#update-a-secondary-email-address)
- [**Delete**](https://developers.hubspot.com/docs/reference/api/crm/objects/contacts/v1#delete-a-secondary-email-address)

 ![CleanShot 2025-03-11 at 13.46.44@2x.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/9/a991ce597a2969fe84ee1e744cfeddfbc3e7ada8.png)

The limitation you’ll hit is there is not a batch endpoint for Secondary Emails. But, the v1 endpoints are stable and supported.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [March 18, 2025, 8:08am UTC](https://community.hubspot.com/t/delete-secondary-additional-emails-via-api/127752/3 "2025-03-18T08:08:35Z")

</div>

Hi @LCollom

here is one approach -  
use this curl, this will give you all the emails that have been with the contact. From the response body you can filter out the secondary emails.

```lia-code-sample
curl --request GET \
 --url 'https://api.hubapi.com/crm/v3/objects/contacts/contactId?propertiesWithHistory=email&archived=false' \
 --header 'authorization: Bearer YOUR ACCESS TOKEN'

```

I hope this will help you out. Please mark it as **Solution Accepted and upvote** to help another Community member.  
Thanks!
