Get company list by ID with API

Hi all,

I want to get a list of companies with the HubSpot API by ID. I know there is a way to get a contact list by a unique id, but I can’t find it for a list of companies. If I try to use the GET Company list by id request (https://api.hubapi.com/contacts/v1/lists/{listId}/contacts/all?hapikey={apikey}) but using the id of the company list, I get the following result:

{
 "contacts": [],
 "has-more": false,
 "vid-offset": 0
}

The list I want to get is an Active list, maybe that has something to do with it.

Anyone has a solution for this?

Or is it just not possible to get a company list?

Thanks

Hey @Jasperrie

Currently, this is not supported.

I would suggest adding this to the ideas board.

(fyi - I have heard murmurs of this API endpoint being built out, but I have no timeline)