Check bulk import status

Hello,

I am using the Bulk Import API to upload daily batches of Contacts.

I know I can provide a callback url in the request, but I was wondering if there is a quick way to poll for the status of the import. I would expect an endpoint like this to return the import job information:

https://youraccountname.api-us1.com/api/3/import/bulk_import/:batchId

Thanks in advance

Hi!

Yes, when you send a group of contacts to the bulk import API, you receive in the response a batch_id. You can use this batch_id later to make a call to check the status of the import.

https://{yourAccountName}.activehosted.com/api/3/import/info?batchID={batch_id}
2 Likes

That is good to know! Thanks!

1 Like

Just a quick edit…

:blush:

From what I am seeing:

Returns usual json:

status: false|active|completed (false when no batchId provided)
success: Array of contact IDs
failure: Array of contact IDs

Hopefully this all saves some headbangin’ LOL!