Please note: as of January 31, 2024, the HubDB v2 API has been sunsetted. The associated endpoints will not be fully turned off until a future date in 2024, but if you're using this API, please migrate to the HubDB v3 API, which includes many performance, usability, and API consistency improvements over the previous two versions. Learn more about this sunset on the HubSpot Developer Changelog.
Import the contents of a CSV file into the draft version of an existing HubDB table.
Importing a CSV will always update the draft version of the table. You will need to publish the draft via API or via the publish tools in HubSpot before the import would affect the live, public version of the table.
This endpoint takes a multipart POST request. The first part will be a set of JSON formatted options for the import. The second part will be the CSV file you want to import.