May 21, 20215:41 AM - edited May 21, 20215:42 AM
Member
Bulk import Response Status
I am trying to use import api to import list of companies it is working fine but in response i am getting status : "processing" for a time being once processing is completed i m getting status : done while hitting import/info api .
But here how can i get automtic notification once my sync is completed .do i need to poll on import/info api to check state of my sync .or what can be the best approach to ?
Hey @dennisedson thankyou , it is very useful and seems Hubspot does not provide webhook for the bulk upload notification .May I ask u 1 more question , Which api is best for bulk companies import on hubspot? 1. "/crm/v3/imports/" 2. "/crm/v3/objects/companies/batch/create" In import api with webhooks i can receive the notification for companies which is successfully created on hubspot but how should we handle errors ?
for ex out of 100 companies 70 imported successfully but 30 failed , For 70 i receive 70 notifications through company creation webhook ,but how i will get to know 30 companies are failed In batch create there is cap of 100 companies per request and response time is high as compared to import api howewer this api is better in terms of handling of status and errors.