APIs & Integrations

SWarehouse
Member

CRM Import API - Start a new import Python Example

SOLVE

Hi,

 

There is no Python example using the hubspot-api-client package under the "Start a new import" section of the CRM Import API endpoint section. Every other endpoint has an example using the official Python package, so it would be great if I could get an example code snippet provided here!

0 Upvotes
1 Accepted solution
Jaycee_Lewis
Solution
Community Manager
Community Manager

CRM Import API - Start a new import Python Example

SOLVE

Hi, @SWarehouse 👋 Thanks for reaching out. I found the same thing when I view the endpoint example here, CRM Imports

no-ex-01.png

On the Overview tab, I found an example request body for a CRM Contacts Import using Python — example request body for importing contacts.

 

py-ex-01.png

My other suggestion is to share your code example here including your request, JSON body, response, and any errors. We have community members who are brilliant with Python. 

 

Thank you! — Jaycee

 

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

View solution in original post

0 Upvotes
1 Reply 1
Jaycee_Lewis
Solution
Community Manager
Community Manager

CRM Import API - Start a new import Python Example

SOLVE

Hi, @SWarehouse 👋 Thanks for reaching out. I found the same thing when I view the endpoint example here, CRM Imports

no-ex-01.png

On the Overview tab, I found an example request body for a CRM Contacts Import using Python — example request body for importing contacts.

 

py-ex-01.png

My other suggestion is to share your code example here including your request, JSON body, response, and any errors. We have community members who are brilliant with Python. 

 

Thank you! — Jaycee

 

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes