CRM Import APIs not working

Hi,

We’re currently using the API provided below:

We’re trying to utilize the following endpoints:

  • GET /crm/v3/imports/
  • GET /crm/v3/imports/{importId}
  • POST /crm/v3/imports/{importId}/cancel

However, we’ve encountered some issues:

  1. First API (GET /crm/v3/imports/): When using this endpoint, we expect to retrieve active imports running in the account. However, despite receiving a 200 response, the results array returned is empty. We believe it should include the active imports.
  2. Second API (GET /crm/v3/imports/{importId}): We followed the instructions provided in https://community.hubspot.com/t5/CRM/How-can-you-know-the-import-name-from-an-import-id/td-p/906856 to obtain information about a specific import based on its ID. However, despite providing the correct import ID, we’re receiving a “404 Not Found” error.
  3. Third API (POST /crm/v3/imports/{importId}/cancel): Similar to the issue with the second API, we’re encountering a “404 Not Found” error when attempting to cancel an import using its ID.

Could someone assist us in resolving these issues? Please feel free to comment or message if additional information is required.

Thanks.

Hi, @MShukla7 :waving_hand: Thanks for posting your question. One thing to check is that the Private App you are making the request with is the same Private App that was used for the import itself. From the documentation — “Please note: when retrieving imports using a private app access token, the response will only include imports performed by that private app. Imports completed in HubSpot or via another private app will not be returned.”
If you’re still having challenges finding a specific Import or stopping an import in-progress, can you share an example request, body, and response here, please?

Best,

Jaycee