I can't see one of Email Opt-out field in the Get Contact APISOLVE
May 29, 2020 2:39 PM
I'm trying to retrieve some of the Email Opted-Out fields from Hubspot into our database using the following API:
When run this API, I can see all the fields in the list return with the exception hs_email_optout_8324033.
Can someone let us know what should I do to make this field return as well?
Solved! Go to Solution.
Jun 3, 2020 5:06 AM
Upon digging further into this, I believe I would be able to shed some lights here.
The reason why you're not seeing property hs_email_optout_8324033 is likely because on the first page of the return result (first 100 contacts that you retrieved), there's no contact with this property set (not even set with a "" value).
As such, the property isn't showing up.
If you'd like to return property even if it's null, you may want to explore the option of using CRM API | Contacts:
This should return all properties stated on the query parameter for each contact records even if the property is null.
Let me know if this works for you 🙂