API - Issue In Getting Contact Property


#1

Hello everyone,

I am facing an issue in getting all the properties using below API. We have a contact property called "Target" which is not coming when hitting the below API. Any clue?

https://api.hubapi.com/contacts/v1/contact/vid/xxxx/profile

(xxxx) - dummy record is.


#2

You need to use the property parameter to specify which properties you want returned in the response:

e.g.

https://api.hubapi.com/contacts/v1/contact/vid/xxxx/profile?property=Target


#3

Thanks for the information.

FYI, I am able to figure the issue. This API is not returning the property if it is blank.