APIs & Integrations

jtsuero
Member

Add Additional Email via API

SOLVE

Trying to add a contact so that when accessing contacts on portal, we can see this.

Screenshot 2024-07-11 at 4.57.06 PM.png

Currently my payload when creating a contact looks like this:

properties: {
firstname: "Test",
lastname: "Example",
email: "test@test.com",
additional_emails:
"test@test.com, testing@test.com"
}

However, the additional emails are not added to the above screenshot. When trying to add the additional emails to the "hs_additional_emails" I get an error saying that is a calculated field. How do I solve so that the additional emails are properly shown as screenshot, or are later calculated to avoid duplicate emails / contacts?




0 Upvotes
1 Accepted solution
Jaycee_Lewis
Solution
Community Manager
Community Manager

Add Additional Email via API

SOLVE

Hey, @jtsuero 👋 The Contacts API docs don't list a method for accomplishing this. This post covers how to use the Secondary Email endpoint. I hope this helps! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

View solution in original post

0 Upvotes
2 Replies 2
Jaycee_Lewis
Solution
Community Manager
Community Manager

Add Additional Email via API

SOLVE

Hey, @jtsuero 👋 The Contacts API docs don't list a method for accomplishing this. This post covers how to use the Secondary Email endpoint. I hope this helps! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
jtsuero
Member

Add Additional Email via API

SOLVE

Awesome, thanks so much!

0 Upvotes