# CRM Import API

**URL:** <https://community.hubspot.com/t/crm-import-api/72531>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [January 10, 2023, 12:38pm UTC](https://community.hubspot.com/t/crm-import-api/72531 "2023-01-10T12:38:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JKbni](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@JKbni](https://community.hubspot.com/u/JKbni)\
**Post date:** [January 10, 2023, 12:38pm UTC](https://community.hubspot.com/t/crm-import-api/72531/1 "2023-01-10T12:38:05Z")

</div>

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.

 ![postmanscr.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/b/e/be4a75746c1db9c34fb47e732233d96e9c16387c.png)

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](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?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 11, 2023, 5:43pm UTC](https://community.hubspot.com/t/crm-import-api/72531/2 "2023-01-11T17:43:44Z")

</div>

Hi, @JKbni 👋 Did you get this resolved? If not, I am happy to test using the details from the documentation.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![JKbni](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@JKbni](https://community.hubspot.com/u/JKbni)\
**Post date:** [January 12, 2023, 7:48am UTC](https://community.hubspot.com/t/crm-import-api/72531/3 "2023-01-12T07:48:22Z")

</div>

Hi, [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074)  
I did not. I would very much appreciate it!
