How to get account name?


#1

Hello. I found the following endpoint: /accounts/v1/accounts, and it gives me what I want:
{accounts: [{..., "accountName":"HUBSPOT API", ...}]}
But it looks that is for Hubspot internal usage only, because it asks hubspot-app-cookie.

How do I can get the account name through your API?
Or if this is impossible, could you provide this info through /integrations/v1/me endpoint, for example?


#2

Hi @andrey1, this isn't a publicly listed endpoint, so as you encountered, this won't work. The only other endpoint we have is the one you described, but it only returns the properties listed in the docs. I can certainly send this along as a feature request internally, and I'd recommend posting in our Ideas forum: https://community.hubspot.com/t5/custom/page/page-id/ideaslandingpage