Get all contacts
Tags: #hubspot #crm #sales #contact #naas_drivers
Author: Florent Ravenel

Input

Import library

1
from naas_drivers import hubspot
Copied!

Setup your HubSpot

👉 Access your HubSpot API key
1
HS_API_KEY = 'YOUR_HUBSPOT_API_KEY'
Copied!

Enter contact properties you want to be returned

1
properties_list = []
Copied!

Model

Get all contacts

1
df_contacts = hubspot.connect(HS_API_KEY).contacts.get_all(properties_list)
Copied!

Output

Display result

1
df_contacts
Copied!
Copy link
Edit on GitHub