TPham26
February 7, 2024, 10:56am
1
I’m working with the get account detail API (integrations/v1/me).
I need value of the accountType field.
Currently, I only know the accountType has values:
“developer_test” and “standard”
Which other values of the accountType field?
Thank you very much!
Hi @TPham26
You will always get one account type from the API response. If the Access token is of a standard account, you will get the Account type as Standard, if it is a Developer account then you will get the Account type as Developer Test as shown in Screenshot.
curl --request GET \
--url https://api.hubapi.com/account-info/v3/details \
--header 'authorization: Bearer YOUR_ACCESS_TOKEN'
I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!
Thank you, Gaurav Rajput. Besides this value, do we have any other values?
Ex: Standard, Professional, or Enterprise…
I tried to check an Hubspot account is Professional, or Enterprise. But I don’t know the exact list value range of AccountType field.
@GRajput , Thank you very much!
Hi @TPham26
I think the desired outcome you want to achieve from the API is not possible.
If you need to know the subscription type of the account you can simply,
Navigate to > setting icons > Account & Billing > subscription type is displayed
I have added a screenshot for the reference
I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!