APIs & Integrations

Maor_Yehuda
Member

Not getting all properties in a GET contact by email request

Hi,

I created a new properties group, and created new fields under that new group.
I don’t seem to get those properties back with the response I get back from GET contact by email request. https://api.hubapi.com/contacts/v1/contact/email/{contact_email}/profile?hapikey={api_key}

I even tries adding another param like this: &property={property_name},
and still I don’t get the property back.

Please help.
Thanks

0 Upvotes
2 Replies 2
Dadams
HubSpot Employee
HubSpot Employee

Not getting all properties in a GET contact by email request

Hi @Maor_Yehuda

Contacts will only include properties that have had a value, even if you’re including it in the request URL, so if the contact you’re looking at has never had a value for that property, it would not be in the returned JSON.

Maor_Yehuda
Member

Not getting all properties in a GET contact by email request

Thank you! You are right, it works now.

0 Upvotes