A collection of methods related to the ContactsList API
Methods
-
Get contact list by ID
Name Type Description list
int The id of the list to retrieve
Returns:
Type Description Promise Example
const hs = new HubspotClient(props); hs.contactsList.getById(123412313).then(response => console.log(response))
-
Get contact list by ID
Name Type Description list
int The id of the list to retrieve
Returns:
Type Description Promise Example
const hs = new HubspotClient(props); hs.contactsList.getById(123412313).then(response => console.log(response))
-
Get contacts in list
Name Type Description list
int The id of the list to retrieve
properties
object Optional extra properties to add to the request - see developer docs
Returns:
Type Description Promise Example
const hs = new HubspotClient(props); hs.contactsList.getContactsInList(123412313).then(response => console.log(response))
-
Get contacts in list
Name Type Description list
int The id of the list to retrieve
properties
object Optional extra properties to add to the request - see developer docs
Returns:
Type Description Promise Example
const hs = new HubspotClient(props); hs.contactsList.getContactsInList(123412313).then(response => console.log(response))