Custom contact property not returned by API
Oct 26, 2016 5:23 AM
I’m retrieving contacts by company id with the following URL: https://api.hubapi.com/companies/v2/companies/ mycompanyId/contacts?hapikey=xxxxxxxxxx&portalId=xxxxxxx. However, our custom contact parameters (‘role’ and ‘support_contact’) are not returned even if they contain a value.
I did check and the custom properties have been created in HubSpot. The properties are returned when using the 'Get all properties request (https://api.hubapi.com/properties/v1/contacts/properties?hapikey=xxxxxx&portalId=xxxxxxx) and are visible in the HubSpot portal but not in the returned JSON of the above call. Is there anything I’m missing here?