APIs & Integrations

Bulat_Rinchinov
Member

How to set email to empty value via Update Contact API?

SOLVE

I need to update contact with empty value for email property:
{
"properties": [
{
"property": "email",
"value": ""
}
]
}

But get error: "Email address is invalid".
How can I set email to empty value?

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

How to set email to empty value via Update Contact API?

SOLVE

Welcome, @Bulat_Rinchinov.

It is not possible to clear a contact's email property. The email property is used to deduplicate contact records. All contacts manipulated via the API must have a value.

Isaac Takushi

Associate Certification Manager

View solution in original post

0 Upvotes
2 Replies 2
savior318
Participant

How to set email to empty value via Update Contact API?

SOLVE

Hey ! Try to send email: null. Works for me.

0 Upvotes
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

How to set email to empty value via Update Contact API?

SOLVE

Welcome, @Bulat_Rinchinov.

It is not possible to clear a contact's email property. The email property is used to deduplicate contact records. All contacts manipulated via the API must have a value.

Isaac Takushi

Associate Certification Manager
0 Upvotes