I am trying to do a import of contacts through API.
So far I have managed to make a Postman method however it keeps giving me a 404 Status.
Despite of a importRequest everything seems correct but it’s not what the Status code indicates.
The JSON of a importRequest looks like this:
{ “name”: “import_test” “files”: [ { “fileName”: “test_import.csv”, “fileFormat”: “CSV”, “dateFormat”: “YEAR_MONTH_DAY”, “fileImportPage”: { “hasHeader”: true, “columnMappings”: [ { “columnObjectTypeId”: “0-1”, “columnName”: “Name”, “propertyName”: “firstname”, “idColumnType”: null }, { “columnObjectTypeId”: “0-1”, “columnName”: “Last name”, “propertyName”: “lastname”, “idColumnType”: null }, { “columnObjectTypeId”: “0-1”, “columnName”: “E-mail”, “propertyName”: “email”, “idColumnType”: “HUBSPOT_ALTERNATE_ID” } ] } } ] }
It’s seems to be missing some parameters such as overwriting fields, although it is a copy of exemplary request from docs:
https://developers.hubspot.com/docs/api/crm/imports
What causes the 404 Status and is there a way to chose whether the fields should be overwritten or not?
