archived flag is NOT working as documented (and it's ok as is !)

about the api to retrieve the company

the flag archived is not working as documented

the doc states about this flag: “Whether to return only results that have been archived.”.
It is simply not true.

if archived=false, the api returns only the ‘live’ companies
if archived=true, the api return *both* ‘live’ and ‘softDeleted’ companies

I ask you if is a doc typo or is a bug/misbehaviour

because it’s really usefull it works as it works now.

please, so, fix the doc and do not change anything

please, someone from HS, reply to me because I have a software depending on actual undocumented/unexpected behaviours

Hi @realtebo2

I tried using both true and false, but as you have said, it’s not working as per the doc. So I think you should contact HubSpot so that they can explain this behaviour and amend the doc as per its functionality.

Thanks!

Hi !

I contacted the support.
Hubspot support is to blame in a long list of ways about this

1. The person I talked in the chat first was simply stating “we are not trained develoeprs”, then I asked to simply verify a problem that doesn’t require any skill; then she was refusing to allowing me to receive a feedback. They want to say “thank you, I’ll tell about them internally” but not “..and I will share result with you”
2. When I persuaded the first support’s person to ask to a feedback, I received an email from an internal of a not specified role. They told me that “api works as documented”. I again demostrated that it’s not true. They admitted the problem

3. 1 week ago I still don’t know if they will fix the doc or the behaviour.

It’s a shame, paying n*10k$ / year to have a so bad support to developer’s question

Hi @realtebo2 & @GRajput! Thanks so much for reporting this and reaching out to support. I apologize for any frustration this has caused during the troubleshooting process. I do see that our internal team is still investigating this issue and your support representative sent you a reply on the 7th acknowledging that we are waiting on the internal team to conclude their investigation. As last week was a holiday in the states, responses may be delayed. Thank you so much for your patience & I look forward to Support’s reply! :blush:

Best,

Kennedy Poirier

Community Manager

HubSpot, Product Success