A collection of methods related to the Domains API
Methods
-
Get domain by ID
Name Type Description domainIdint Returns:
Type Description Promise Example
const hs = new HubspotClient(props); hs.domains.getDomain(domainId).then(response => console.log(response)); -
Get all domains for a portal
Name Type Description optsobject Properties:
Name Type Description opts.limitint opts.offsetint opts.idint opts.domainstring opts.is_resolvingboolean opts.createdint opts.primary_site_pagestring Returns:
Type Description Promise Example
const hs = new HubspotClient(props); hs.domains.getDomains(opts).then(response => console.log(response));