A collection of methods related to the ContactsList API
Methods
-
Get contact list by ID
Name Type Description listint 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 listint 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 listint The id of the list to retrieve
propertiesobject 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 listint The id of the list to retrieve
propertiesobject 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))