Not getting all properties in a GET contact by email request


#1

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


#2

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.


#3

Thank you! You are right, it works now.