A collection of methods related to the Domains API
Methods
-
Get domain by ID
Name Type Description domainId
int 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 opts
object Properties:
Name Type Description opts.limit
int opts.offset
int opts.id
int opts.domain
string opts.is_resolving
boolean opts.created
int opts.primary_site_page
string Returns:
Type Description Promise Example
const hs = new HubspotClient(props); hs.domains.getDomains(opts).then(response => console.log(response));