get https://{youraccountname}.api-us1.com/api/3/import/info
This endpoint returns a specific bulk import's status including the contact IDs of any newly created contacts, and emails of any contacts that failed to be created.
Add a short delay between creating a bulk import and calling for it's status
If this endpoint is called immediately (less than a second) after a bulk import call, the
status
in the return may befalse
(a boolean), because the system has not yet set a status on the batch.
{
"status":"completed",
"success":["123","124","125","126"],
"failure":[
"invalid.email@invalidDomain",
"invalid'[email protected]"
]
}
The status
field may contain the following values:
Status | Description |
---|---|
waiting | The import has been received but has not received a uuid and processing has not begun. |
claimed | The import batch has received a uuid but processing has not begun. |
active | The import batch is currently being processed. |
completed | The import batch has completed processing. |
failed | The import batch has failed and can no longer be retried. |
interrupted | The import batch was interrupted due to failures and will not be retried. |