Namespace: hs/account

hs/account

A collection of methods related to the Account API

Methods

hs/account.getAccountDetails ()Promise asyncstatic

Get account info

Returns:
Type Description
Promise
Example
const hs = new HubspotClient(props);
const accountDetails = await hs.account.getAccountDetails();

hs/account.getDailyLimit ()Promise asyncstatic

Check to see how many API calls have been made for a portal for the current day as well as the time that the limit will reset

Returns:
Type Description
Promise
Example
const hs = new HubspotClient(props);
const dailyLimit = await hs.account.getDailyLimit();